feat: 清空旧localstorage的内容
This commit is contained in:
parent
c266736ede
commit
ab49f840d5
|
|
@ -62,7 +62,9 @@ export function getLocalSettings(): LocalSettings {
|
|||
}
|
||||
|
||||
export function saveLocalSettings(settings: LocalSettings) {
|
||||
void settings;
|
||||
// 注释了,因为本地存储会污染模型配置
|
||||
console.log('localStorage设置,已经注释');
|
||||
console.log("localStorage设置,已经注释");
|
||||
localStorage.removeItem(LOCAL_SETTINGS_KEY);
|
||||
// localStorage.setItem(LOCAL_SETTINGS_KEY, JSON.stringify(settings));
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue