feat: 优化列表渲染

This commit is contained in:
alger
2024-12-04 20:38:26 +08:00
parent f6923b4c47
commit c5e7c87658
4 changed files with 115 additions and 66 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ import directives from './directive';
const app = createApp(App);
Object.keys(directives).forEach((key: string) => {
app.directive(key, directives[key]);
app.directive(key, directives[key as keyof typeof directives]);
});
app.use(router);
app.use(store);