Skip to content

联动支持设计界面编辑区内的联动吗,不是预览时的联动 #331

Answered by scil
scil asked this question in Q&A
Discussion options

You must be logged in to vote

突然开窍了 这种联动不需要陷入到设计器或者 formily里头去。其实从 React角度解决就行。 目前我用 import { observable } from '@formily/reactive' 来定义要共享的数据,在自定义组件内,用 '@formily/reactive-react' 提供的 observer 来显示数据。

Replies: 1 comment

Comment options

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