src/stores/userInfo.ts
@@ -21,9 +21,8 @@ }), actions: { async setUserInfos(value: any) { debugger 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'); // // 模拟数据