Skip to content

能否纯用json schema实现两个表单之间的联动呢? #1371

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

You must be logged in to vote

在formB的x-reactions中依赖formA的实例(通过外部scope注入),比如:

x-reactions:{
  fulfill:{
   state:{
     visible:{{formA.values.selectA === 'a'}}
   }
}

Replies: 1 comment

Comment options

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