แก้บัค rule หน้าแบบสอบถาม

This commit is contained in:
AnandaTon 2023-08-25 12:29:03 +07:00
parent 961a548c48
commit 3193c4a029

View file

@ -108,14 +108,20 @@ const saveForm = () => {
let hasError = false
if (
reasonWork.value === 0 ||
reasonWorkOther.value.length < 0 ||
timeThink.value === 0 ||
exitFactor.value === 0 ||
exitFactorOther.value.length < 0 ||
adjust.value === 0 ||
adjustOther.value.length < 0 ||
realReason.value.length < 1 ||
notExitFactor.value.length < 1 ||
haveJob.value === null ||
haveJobReason.value.length < 0 ||
suggestFriends.value === null ||
suggestFriendsReason.value.length < 0 ||
futureWork.value === null ||
futureWorkReason.value.length < 0 ||
suggestion.value.length < 1
) {
hasError = true