mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-11-15 05:40:25 +08:00
refactor: 登录页调整
This commit is contained in:
@@ -21,6 +21,14 @@ export function saveUser(userinfo: any) {
|
||||
setLocal(UserKey, userinfo);
|
||||
}
|
||||
|
||||
export function saveThemeConfig(themeConfig: any) {
|
||||
setLocal('themeConfig', themeConfig);
|
||||
}
|
||||
|
||||
export function getThemeConfig() {
|
||||
return getLocal('themeConfig');
|
||||
}
|
||||
|
||||
// 获取是否开启水印
|
||||
export function getUseWatermark() {
|
||||
return getLocal('useWatermark');
|
||||
|
||||
Reference in New Issue
Block a user