优化体验

This commit is contained in:
aixianling
2022-04-27 19:36:32 +08:00
parent 861e7c688f
commit bd512c3caa
9 changed files with 29 additions and 3480 deletions

View File

@@ -1,7 +1,7 @@
import store from "../store";
import appEntry from "../views/appEntry";
import {waiting} from "../utils";
import router from "./router";
export default {
routes: [],
init() {
@@ -31,6 +31,7 @@ export default {
}
//命名规范入口文件必须以App开头
waiting.setContent(`加载${name}...`)
router.addRoute(addApp)
this.routes.push(addApp)
return store.commit("addApp", addApp)
})