fix: 修复缓存字段公开问题

This commit is contained in:
陈淳
2024-02-27 10:00:07 +08:00
parent 11b94f965c
commit 2fb831075e
3 changed files with 5 additions and 3 deletions

View File

@@ -20,6 +20,7 @@ router.beforeEach((to, from, next) => {
} else {
if (useUserStore().roles.length === 0) {
// 判断当前用户是否已拉取完user_info信息
alert("获取用户信息")
useUserStore()
.getInfo()
.then(() => {