There was a problem with elementui form validation submission

After the

form is customized and validated, subform submits it. If it is not filled in, it is normal. After filling it out, it does not go through the this.$refs ["settingRules"] .validate method, and the alert in it does not pop up.

clipboard.png

"111"

clipboard.png

debugger

clipboard.png

data

clipboard.png

checkName555

clipboard.png

Feb.26,2021

do you have the answer? I have the same problem. Blue Skinny


found the reason, because your custom verification rule did not write a successful callback function, plus a

else{
        callback()
    }
   

would be fine

Menu