修复融合参数界面同步错误问题

This commit is contained in:
shefengchun 2023-02-23 19:32:51 +08:00
parent 361bcb7719
commit d29ca4c6dd
2 changed files with 3 additions and 7 deletions

View File

@ -398,10 +398,6 @@ export default defineComponent({
}, 100);
})
if(sessionStorage.FusionLocale_async)auto_sync.value=sessionStorage.FusionLocale_async=='true'
console.log("🚀 ~ file: FusionLocale.vue:401 ~ onMounted ~ sessionStorage.FusionLocale_async:", sessionStorage.FusionLocale_async)
}),
onBeforeUnmount(() => {
sessionStorage.FusionLocale = JSON.stringify(set_cache.value);
@ -553,7 +549,7 @@ export default defineComponent({
let tmpobjall = JSON.parse($store.state.fusion_configuration)
if ($store.getters.GetTheCurrentlySelectedCamera[1] == 0) {
let tmp = set_cache.value[1].array == null ? tmpobjall.projectors[1].params : JSON.parse(set_cache.value[1]).array;
let tmp = set_cache.value[1] == null ? tmpobjall.projectors[1].params : JSON.parse(set_cache.value[1]);
let set_cache_tmp: any = []
if (tmp[1].hasOwnProperty("power")) {
for (let index = 0; index < 4; index++) {

View File

@ -172,7 +172,7 @@
<div class="text-h6">{{ $t('Do you confirm the modification') }}</div>
</q-card-section>
<q-card-section class="q-pt-none">
{{ $t('Whether to delete') + name_to_be_deleted }}
{{ $t('Do you confirm the modification') }}
</q-card-section>
<q-card-actions align="right" class="bg-white text-teal">
<q-btn flat :label="$t('Cancel')" @click="re_match_data" color="primary" v-close-popup />
@ -470,7 +470,7 @@ export default defineComponent({
if (config.value.col == 1 && config.value.row == 1) {
optionsstr.value = "FourPointCalibration"
} else {
optionsstr.value = "FusionLocale";
optionsstr.value = "FourPointCalibration";
}
};