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