From 6785ace3ff53fbf5a188f47496bbf13ed1bca8f4 Mon Sep 17 00:00:00 2001 From: liudong <liudong> Date: 星期五, 16 八月 2024 18:31:31 +0800 Subject: [PATCH] 新版UI对话页面开发 --- src/store/modules/user/index.ts | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/store/modules/user/index.ts b/src/store/modules/user/index.ts index 1ee0211..e7ae4eb 100644 --- a/src/store/modules/user/index.ts +++ b/src/store/modules/user/index.ts @@ -78,8 +78,8 @@ }; if(res.data.roles && res.data.roles.length>0) this.resources=res.data.roles[0].resources; - setUserInfo(JSON.stringify(userInfo)); - setUserResources(JSON.stringify(this.resources)) + setUserInfo(JSON.stringify(userInfo)); + setUserResources(JSON.stringify(this.resources)) for (const r of this.resources) { if (r.menuType == 0) { return r.component -- Gitblit v1.8.0