潘志宝
2024-12-25 291bf570b2106cb99b0e689af7d6ccaacc9e5c1c
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()