mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-11-15 22:00:26 +08:00
refactor: code review
This commit is contained in:
@@ -33,7 +33,9 @@ export function getThemeConfig() {
|
||||
return getLocal('themeConfig');
|
||||
}
|
||||
|
||||
// 清除用户相关的用户信息
|
||||
/**
|
||||
* 清除当前登录用户相关信息
|
||||
*/
|
||||
export function clearUser() {
|
||||
removeLocal(TokenKey);
|
||||
removeLocal(UserKey);
|
||||
|
||||
Reference in New Issue
Block a user