Skip to content

表单值改变,但是UI不更新是为什么。 #4240

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

You must be logged in to vote

找到答案了,因为我重新写了组件,使用了...props方法透穿,导致value为undefined时,无法赋值给组件,所以ui中的value未更新。

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by ever42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant