diff --git a/src/components/FusionSettings/FourPointCalibration.vue b/src/components/FusionSettings/FourPointCalibration.vue index 7e2a752..8e14140 100644 --- a/src/components/FusionSettings/FourPointCalibration.vue +++ b/src/components/FusionSettings/FourPointCalibration.vue @@ -258,13 +258,13 @@ export default defineComponent({ const chang = (index: number, $event: any, type: string) => { index = Number(index) - if (now_selsect_projector?.value == '0-0') { + if (now_selsect_projector?.value == '0-0'&&props.col=='2') { if (index == 1 || index == 3) { value.value[index].x > allconfig.projector_width ? value.value[index].x =allconfig.projector_width : value.value[index].x } } - if (now_selsect_projector?.value == '0-1') { + if (now_selsect_projector?.value == '0-1'&&props.col=='2') { if (index == 0 || index == 2) { value.value[index].x < 0 ? value.value[index].x= 0 : value.value[index].x } @@ -426,7 +426,6 @@ export default defineComponent({ case 'x': if (spt < 0) { if(now_selsect_projector?.value=='0-0'&&props.col=='2'){ - if(options_model.value==1||options_model.value==3){ value.value[options_model.value].x>allconfig.projector_width?value.value[options_model.value].x = allconfig.projector_width:value.value[options_model.value].x++ }else{