Form手动验证后通过后怎么取值? #2891
Unanswered
langziyang
asked this question in
Q&A
Replies: 1 comment 2 replies
-
返回 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
form.validate()
.then(resp => {
console.log(resp)
//postToApi
})
为什么resp要返回一个true呢?验证通过后不是应该返回数据吗?
只返回一个true,那我在这里怎么取值呢?只能onSubmit?
Beta Was this translation helpful? Give feedback.
All reactions