修复是否隐藏桌面数据来源错误

This commit is contained in:
shefengchun 2023-01-14 19:52:05 +08:00
parent bc64cbceff
commit ddb5e15800
1 changed files with 3 additions and 3 deletions

View File

@ -233,9 +233,9 @@ export default defineComponent({
setTimeout(() => {
set?.GetBlendingConfig("").then((res) => {
let tmp = JSON.parse(res ? res.config : "");
hide_desktop_id.value = tmp.options[0];
hide_desktop_value.value = tmp.options[1] == 0 ? false : true;
console.log(tmp)
hide_desktop_id.value = tmp.options[0][0];
hide_desktop_value.value = tmp.options[0][1] == 0 ? false : true;
//console.log(tmp.options[0][1])
});
}, 1000);
});