修复疏密调整数据下发错误
This commit is contained in:
parent
1eb926d029
commit
006d13af6a
|
@ -398,13 +398,14 @@ export default defineComponent({
|
||||||
}
|
}
|
||||||
}, { deep: true })
|
}, { deep: true })
|
||||||
watch(() => value_v_point_amount, (newval, oldval) => {
|
watch(() => value_v_point_amount, (newval, oldval) => {
|
||||||
|
console.log("🚀 ~ file: DensityCorrection.vue:401 ~ watch ~ newval:", newval)
|
||||||
|
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
if (now_v_h.value == 'level') {
|
if (now_v_h.value != 'level') {
|
||||||
set?.SetBlendingOption("blending_grids_select_ui", "hor_density")
|
|
||||||
} else {
|
|
||||||
set?.SetBlendingOption("blending_grids_select_ui", "ver_density")
|
set?.SetBlendingOption("blending_grids_select_ui", "ver_density")
|
||||||
}
|
|
||||||
set?.SetBlendingOption("blending_grids_control_point_count", `${newval.value}`)
|
set?.SetBlendingOption("blending_grids_control_point_count", `${newval.value}`)
|
||||||
|
}
|
||||||
|
|
||||||
save_set_cache()
|
save_set_cache()
|
||||||
}, 100);
|
}, 100);
|
||||||
}, { deep: true })
|
}, { deep: true })
|
||||||
|
@ -413,10 +414,8 @@ export default defineComponent({
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
if (now_v_h.value == 'level') {
|
if (now_v_h.value == 'level') {
|
||||||
set?.SetBlendingOption("blending_grids_select_ui", "hor_density")
|
set?.SetBlendingOption("blending_grids_select_ui", "hor_density")
|
||||||
} else {
|
|
||||||
set?.SetBlendingOption("blending_grids_select_ui", "ver_density")
|
|
||||||
}
|
|
||||||
set?.SetBlendingOption("blending_grids_control_point_count", `${newval.value}`)
|
set?.SetBlendingOption("blending_grids_control_point_count", `${newval.value}`)
|
||||||
|
}
|
||||||
save_set_cache()
|
save_set_cache()
|
||||||
}, 100);
|
}, 100);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue