fix
This commit is contained in:
@@ -42,7 +42,7 @@ export function setTokenFromBackend(data: TokenDTO): void {
|
||||
|
||||
// useUserStoreHook().SET_USERNAME(data.currentUser.userInfo.username);
|
||||
// useUserStoreHook().SET_ROLES([data.currentUser.roleKey]);
|
||||
// storageSession().setItem(sessionKey, data);
|
||||
storageSession().setItem(sessionKey, data);
|
||||
}
|
||||
|
||||
/** 删除`token`以及key值为`user-info`的session信息 */
|
||||
|
||||
Reference in New Issue
Block a user