表单值改变,但是UI不更新是为什么。
#4240
-
有个问题,我使用 |
Beta Was this translation helpful? Give feedback.
Answered by
ever42
Apr 2, 2025
Replies: 2 comments
-
我使用的是 |
Beta Was this translation helpful? Give feedback.
0 replies
-
找到答案了,因为我重新写了组件,使用了 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ever42
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
找到答案了,因为我重新写了组件,使用了
...props
方法透穿,导致value为undefined时,无法赋值给组件,所以ui中的value未更新。