Update result.vue
This commit is contained in:
parent
74200a6b3e
commit
920403166b
1 changed files with 12 additions and 12 deletions
|
|
@ -107,21 +107,21 @@ const adjust_option = ref<any>([
|
||||||
const saveForm = () => {
|
const saveForm = () => {
|
||||||
let hasError = false
|
let hasError = false
|
||||||
if (
|
if (
|
||||||
reasonWork.value === 0 &&
|
(reasonWork.value === 0 &&
|
||||||
reasonWorkOther.value.length < 1 ||
|
reasonWorkOther.value.length < 1) ||
|
||||||
timeThink.value === 0 ||
|
timeThink.value === 0 ||
|
||||||
exitFactor.value === 0 &&
|
(exitFactor.value === 0 &&
|
||||||
exitFactorOther.value.length < 1 ||
|
exitFactorOther.value.length < 1) ||
|
||||||
adjust.value === 0 &&
|
(adjust.value === 0 &&
|
||||||
adjustOther.value.length < 1 ||
|
adjustOther.value.length < 1 ) ||
|
||||||
realReason.value.length < 1 ||
|
realReason.value.length < 1 ||
|
||||||
notExitFactor.value.length < 1 ||
|
notExitFactor.value.length < 1 ||
|
||||||
haveJob.value === null &&
|
(haveJob.value === null &&
|
||||||
haveJobReason.value.length < 1 ||
|
haveJobReason.value.length < 1 )||
|
||||||
suggestFriends.value === null &&
|
(suggestFriends.value === null &&
|
||||||
suggestFriendsReason.value.length < 1 ||
|
suggestFriendsReason.value.length < 1) ||
|
||||||
futureWork.value === null &&
|
(futureWork.value === null &&
|
||||||
futureWorkReason.value.length < 1 ||
|
futureWorkReason.value.length < 1 )||
|
||||||
suggestion.value.length < 1
|
suggestion.value.length < 1
|
||||||
) {
|
) {
|
||||||
hasError = true
|
hasError = true
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue