perf: perf store

This commit is contained in:
kailong321200875
2022-10-08 11:28:50 +08:00
parent e757c54fb6
commit d416178d69
7 changed files with 25 additions and 38 deletions

View File

@@ -4,13 +4,11 @@ import '@/plugins/windi.css'
// 导入全局的svg图标
import '@/plugins/svgIcon'
import './store'
// 初始化多语言
import { setupI18n } from '@/plugins/vueI18n'
// 引入状态管理
// import { setupStore } from '@/store'
import { setupStore } from '@/store'
// 全局组件
import { setupGlobCom } from '@/components'
@@ -42,7 +40,7 @@ const setupAll = async () => {
await setupI18n(app)
// setupStore(app)
setupStore(app)
setupGlobCom(app)