修复 四点校正 限制问题
This commit is contained in:
parent
5027ba5233
commit
2f645fa71c
|
@ -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{
|
||||
|
|
Loading…
Reference in New Issue