|
|
|
@ -162,7 +162,10 @@ function saveSetting() {
|
|
|
|
"theme": storeSettings.value.theme
|
|
|
|
"theme": storeSettings.value.theme
|
|
|
|
};
|
|
|
|
};
|
|
|
|
localStorage.setItem("layout-setting", JSON.stringify(layoutSetting));
|
|
|
|
localStorage.setItem("layout-setting", JSON.stringify(layoutSetting));
|
|
|
|
setTimeout(proxy.$modal.closeLoading(), 1000)
|
|
|
|
setTimeout(()=>{
|
|
|
|
|
|
|
|
proxy.$modal.closeLoading();
|
|
|
|
|
|
|
|
showSettings.value=false;
|
|
|
|
|
|
|
|
}, 1000)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
function resetSetting() {
|
|
|
|
function resetSetting() {
|
|
|
|
proxy.$modal.loading("正在清除设置缓存并刷新,请稍候...");
|
|
|
|
proxy.$modal.loading("正在清除设置缓存并刷新,请稍候...");
|
|
|
|
|