보조선 복사 / 이동 수정
This commit is contained in:
parent
e4beabcbad
commit
1412a141f2
@ -26,12 +26,12 @@ export default function AuxiliaryEdit(props) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((verticalSize && +verticalSize === 0) || !arrow1) {
|
if (verticalSize && +verticalSize !== 0 && !arrow1) {
|
||||||
swalFire({ title: getMessage('length.direction.is.required'), type: 'alert' })
|
swalFire({ title: getMessage('length.direction.is.required'), type: 'alert' })
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((horizonSize && +horizonSize === 0) || !arrow2) {
|
if (horizonSize && +horizonSize !== 0 && !arrow2) {
|
||||||
swalFire({ title: getMessage('length.direction.is.required'), type: 'alert' })
|
swalFire({ title: getMessage('length.direction.is.required'), type: 'alert' })
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user