修复融合参数界面同步错误问题
This commit is contained in:
parent
361bcb7719
commit
d29ca4c6dd
|
@ -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++) {
|
||||
|
|
|
@ -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";
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue