Skip to content

onFieldValidateEnd的执行时机问题 #1604

Answered by janryWang
li9269391 asked this question in Q&A [2.x]
Discussion options

You must be logged in to vote

要分清,生命周期钩子和校验器的区别,你用生命周期钩子,它是遇到校验它就会执行的,且不区分triggerType,triggerType只是会控制校验器的执行时机,比如你自定义一个validator,同时指定triggerType,那么这个validator的执行时机就会受triggerType控制

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@li9269391
Comment options

Answer selected by janryWang
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants