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

[Feature request/新增同一个页面中功能模块间的依赖联动关系] #316

Open
wanlixi opened this issue Apr 23, 2021 · 2 comments

Comments

@wanlixi
Copy link

wanlixi commented Apr 23, 2021

例如:同一个页面中有【时间选择器】和【订单列表】两个组件,【时间选择器】组件日期发生改变,会自动触发【订单列表】组件的数据重新请求,下面效果图是我改的,但是只在编辑状态下可以实现联动,预览版就不行了,我排查了一下是因为编辑状态下组件数据都是读取的store,而预览版是读取的注入的固定数据 window.__work,请问这个问题可以帮我解决吗?


component-relationship

@ly525
Copy link
Owner

ly525 commented Apr 26, 2021

可以的,预览状态的也可以读取store

@wanlixi
Copy link
Author

wanlixi commented Apr 26, 2021

我已经实现了,不过是动你的源码实现的

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