src/permission.ts @@ -73,7 +73,8 @@ } if (!userStore.getIsSetUser) { isRelogin.show = true await userStore.setUserInfoAction() await userStore. setUserInfoAction() isRelogin.show = false // 后端过滤菜单 await permissionStore.generateRoutes()