src/stores/userInfo.ts @@ -21,6 +21,7 @@ }), actions: { async setUserInfos(value: any) { debugger this.userInfos.userName = value.username this.userInfos.uid = value.id this.userInfos.roles = value.role