Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

多组件联合联动,组件一的值+组合二的值 控制显示不同组件 如何弄 #689

Open
sanmuw opened this issue Apr 2, 2024 · 2 comments

Comments

@sanmuw
Copy link

sanmuw commented Apr 2, 2024

No description provided.

@sanmuw
Copy link
Author

sanmuw commented Apr 2, 2024

目前组件只能一对一联动吗 多对一 和 多对多 可以吗

@xaboy
Copy link
Owner

xaboy commented Apr 24, 2024

支持的, 通过link字段可以实现

{field: 'field1', link:['field2'], control:{handle(val,api){
  return val || api.getValue('field2')
}}}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants