-
v2: 请问Field的内置校验成功后才执行异步校验,这样的场景怎样实现? 例如:注册场景中,我想手机号码合法化校验后,继续进行异步校验这个号码是否已经注册过,怎样实现这样的功能? |
Beta Was this translation helpful? Give feedback.
Answered by
janryWang
Apr 22, 2021
Replies: 1 comment
-
validator={[{required:true},"phone",()=>这里写异步校验逻辑]} 按照顺序来就行 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
janryWang
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
validator={[{required:true},"phone",()=>这里写异步校验逻辑]} 按照顺序来就行