潘志宝
2024-12-03 aed4202abc90ab4f497deb0da92297341187de7e
src/store/modules/user.ts
@@ -61,6 +61,7 @@
      this.roles = userInfo.roles
      this.user = userInfo.user
      this.isSetUser = true
      console.log(userInfo.menus)
      wsCache.set(CACHE_KEY.USER, userInfo)
      wsCache.set(CACHE_KEY.ROLE_ROUTERS, userInfo.menus)
    },