docs(other): 注释文案修改

This commit is contained in:
毛博文 2022-03-10 17:07:06 +08:00
parent b8db2116df
commit d00643c9f5

View File

@ -31,7 +31,7 @@ export function removeRefreshToken() {
removeLocal(EnumStorageKey['refresh-koken']);
}
/** 设置用户信息 */
/** 获取用户信息 */
export function getUserInfo() {
const emptyInfo: Auth.UserInfo = {
userId: '',
@ -43,7 +43,7 @@ export function getUserInfo() {
return userInfo;
}
/** 获取用户信息 */
/** 设置用户信息 */
export function setUserInfo(userInfo: Auth.UserInfo) {
setLocal(EnumStorageKey['user-info'], userInfo);
}