refactor(projects): 单独路由逻辑重构、路由转换函数优化

This commit is contained in:
Soybean
2022-01-06 02:00:42 +08:00
parent c804b21ceb
commit b36a62b150
45 changed files with 4976 additions and 330 deletions

View File

@ -6,6 +6,10 @@ import AppProvider from './AppProvider.vue';
import App from './App.vue';
async function setupApp() {
// 初始化加载的svg logo
setupInitSvgLogo('#loadingLogo');
// 引入静态资源
setupAssets();
// 挂载 appProvider 解决路由守卫Axios中可使用LoadingBarDialogMessage 等之类组件
@ -13,9 +17,6 @@ async function setupApp() {
setupStore(appProvider);
appProvider.mount('#appProvider');
// 初始化加载的svg logo
setupInitSvgLogo('#loadingLogo');
const app = createApp(App);
setupStore(app);