diff --git a/src/main.ts b/src/main.ts index 150a597..2d50c2f 100644 --- a/src/main.ts +++ b/src/main.ts @@ -28,7 +28,6 @@ const app = createApp(App); app.component('NoData', NoData); app.component('SvgIcon', SvgIcon); -(Object.keys(directives) as Array).forEach((k) => app.use(directives[k])); // 注册指令 app.use(store); app.use(router);