修复快速 多次点击重置所有导致界面不显示
This commit is contained in:
parent
006d13af6a
commit
82fc72c185
|
@ -328,6 +328,7 @@ export default defineComponent({
|
|||
/**
|
||||
* 重置全部参数
|
||||
*/
|
||||
const tmp_options=ref("")
|
||||
const resetall = () => {
|
||||
set?.ResetBlendingConfig().then((res) => {
|
||||
let tmp = JSON.parse(res ? res.config : "");
|
||||
|
@ -337,12 +338,14 @@ export default defineComponent({
|
|||
config.value.row = tmp.row;
|
||||
$store.commit("setfusion_configuration", res?.config);
|
||||
});
|
||||
let tmp = options.value
|
||||
if(options.value.length!=0){
|
||||
tmp_options.value = options.value
|
||||
}
|
||||
options.value = ""
|
||||
$store.commit("setSelectedProjector", "0/0");
|
||||
setTimeout(() => {
|
||||
clear_sessionStorage()
|
||||
options.value = tmp
|
||||
options.value = tmp_options.value
|
||||
}, 300);
|
||||
}
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue