From ef3906e9669cc75c054ef9bf4ea6336b727a539b Mon Sep 17 00:00:00 2001 From: zhangwei <1504152376@qq.com> Date: 星期一, 21 七月 2025 16:38:35 +0800 Subject: [PATCH] '个人中心页面布局' --- src/store/modules/user.ts | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/store/modules/user.ts b/src/store/modules/user.ts index cbd4d99..877b4d8 100644 --- a/src/store/modules/user.ts +++ b/src/store/modules/user.ts @@ -49,6 +49,8 @@ }, /** 瀛樺偍瑙掕壊 */ SET_ROLES(roles: Array<string>) { + console.log(roles, "setroles"); + this.roles = roles; }, /** 瀛樺偍鎸夐挳绾у埆鏉冮檺 */ -- Gitblit v1.9.1