refactor: 自动导入修改和项目重构优化
Former-commit-id: 100ab2e0092d96b17146163759aef897e5c14fbd
This commit is contained in:
10
src/main.ts
10
src/main.ts
@@ -5,10 +5,9 @@ import { setupStore } from '@/store';
|
||||
|
||||
import ElementPlus from 'element-plus';
|
||||
|
||||
import Pagination from '@/components/Pagination/index.vue';
|
||||
import '@/permission';
|
||||
|
||||
// 引入svg注册脚本
|
||||
// 本地SVG图标
|
||||
import 'virtual:svg-icons-register';
|
||||
|
||||
// 国际化
|
||||
@@ -31,9 +30,4 @@ app.config.globalProperties.$getDictionaries = getDictionaries;
|
||||
|
||||
// 全局挂载
|
||||
setupStore(app);
|
||||
app
|
||||
.component('Pagination', Pagination)
|
||||
.use(router)
|
||||
.use(ElementPlus)
|
||||
.use(i18n)
|
||||
.mount('#app');
|
||||
app.use(router).use(ElementPlus).use(i18n).mount('#app');
|
||||
|
||||
Reference in New Issue
Block a user