แก้บัค rule หน้าแบบสอบถาม
This commit is contained in:
parent
961a548c48
commit
3193c4a029
1 changed files with 6 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue