bug:@formily/vue Field.component[1] api无法响应更新 #1237
Unanswered
Venusjason
asked this question in
Q&A [2.x]
Replies: 1 comment 1 reply
-
这个问题其实不是Bug,一开始设计就是这么设计的,React这边也一样,就是不会监听属性变化自动更新字段状态,除非是走的reactions或者effects模式,可以看看这篇文档,https://v2.formilyjs.org/zh-CN/guide/advanced/controlled#%E5%8F%8D%E6%A8%A1%E5%BC%8F 但是Vue这块可能对于监听属性变化有更优雅的方式,这个需要再详细看看 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
width 的值从 200 更新到 1000,而试图上仍旧是200, select.options 也无法更新
Beta Was this translation helpful? Give feedback.
All reactions