src/stores/userInfo.ts
@@ -19,9 +19,10 @@ dataList: [] } }), persist:true, actions: { async setUserInfos(value: any) { this.userInfos.userName = value.username; this.userInfos.userName = value.realName; this.userInfos.uid = value.uid; this.userInfos.roles = value.role; // const userName = Cookies.get('userName');