添加流程可视化页面
This commit is contained in:
parent
43c2d3aee5
commit
e098168182
|
@ -14,6 +14,8 @@ import {api} from "@/api/api";
|
|||
import {handleAsyncRoutes, initRouter} from "@/router/utils";
|
||||
import {spost} from "@/api/smebiz";
|
||||
import {useUserStore} from "@/store/modules/user";
|
||||
import {storageLocal} from "@pureadmin/utils";
|
||||
import {usePermissionStoreHook} from "@/store/modules/permission";
|
||||
|
||||
export default defineComponent({
|
||||
name: "app",
|
||||
|
@ -25,8 +27,10 @@ export default defineComponent({
|
|||
currentLocale() {
|
||||
return zhCn;
|
||||
}
|
||||
}, beforeCreate() {
|
||||
}, mounted() {
|
||||
useUserStore().refreshToken().then(res => {
|
||||
storageLocal().removeItem("async-routes");
|
||||
usePermissionStoreHook().clearAllCachePage();
|
||||
initRouter()
|
||||
})
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue