From a135552f274791bc4242137afbd1bf75adc1db8c Mon Sep 17 00:00:00 2001 From: haoxr <1490493387@qq.com> Date: Sat, 11 Mar 2023 20:47:40 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E7=A7=BB=E9=99=A4=E5=AD=97?= =?UTF-8?q?=E5=85=B8=E5=85=A8=E5=B1=80=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Former-commit-id: ba748c61727908460505f06007dbca9512a7fb92 --- src/main.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/main.ts b/src/main.ts index 73431767..920bc988 100644 --- a/src/main.ts +++ b/src/main.ts @@ -12,7 +12,6 @@ import 'virtual:svg-icons-register'; import i18n from '@/lang/index'; import '@/styles/index.scss'; -import 'element-plus/theme-chalk/index.css'; import 'element-plus/theme-chalk/dark/css-vars.css'; import 'uno.css'; @@ -24,10 +23,6 @@ Object.keys(directive).forEach(key => { app.directive(key, (directive as { [key: string]: Directive })[key]); }); -// 全局方法 -import { getDictionaries } from '@/api/dict'; -app.config.globalProperties.$getDictionaries = getDictionaries; - // 全局挂载 setupStore(app); app.use(router).use(i18n).mount('#app');