Skip to content

Commit

Permalink
docs(other): 注释文案修改
Browse files Browse the repository at this point in the history
  • Loading branch information
毛博文 committed Mar 10, 2022
1 parent b8db211 commit d00643c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils/auth/user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export function removeRefreshToken() {
removeLocal(EnumStorageKey['refresh-koken']);
}

/** 设置用户信息 */
/** 获取用户信息 */
export function getUserInfo() {
const emptyInfo: Auth.UserInfo = {
userId: '',
Expand All @@ -43,7 +43,7 @@ export function getUserInfo() {
return userInfo;
}

/** 获取用户信息 */
/** 设置用户信息 */
export function setUserInfo(userInfo: Auth.UserInfo) {
setLocal(EnumStorageKey['user-info'], userInfo);
}
Expand Down

0 comments on commit d00643c

Please sign in to comment.