From 1eb0eed9133cc73fd06d0ee98d7cc19bc87de761 Mon Sep 17 00:00:00 2001 From: Admin <978517621@qq.com> Date: 星期三, 29 六月 2022 18:46:28 +0800 Subject: [PATCH] 添加页面 --- src/stores/userInfo.ts | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/stores/userInfo.ts b/src/stores/userInfo.ts index f04e50b..9714aab 100644 --- a/src/stores/userInfo.ts +++ b/src/stores/userInfo.ts @@ -22,7 +22,7 @@ actions: { async setUserInfos(value: any) { this.userInfos.userName = value.username - this.userInfos.uid = value.id + this.userInfos.uid = value.uid this.userInfos.roles = value.role // const userName = Cookies.get('userName'); // // 模拟数据 -- Gitblit v1.9.2