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) },