-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
[Bug] qiankun 父应用如何给子应用同步数据。 #12006
Comments
由于缺乏足够的信息,我们暂时关闭了该 Issue。请修改(不要回复) Issue 提供最小重现以重新开启。谢谢。 |
他本质上是一个 umi 中的数据流 model ,可以用 |
如果子应用不是使用umi,怎么获取父应用数据的更新?子应用中监听onGlobalStateChange并没有触发 |
如果子应用不是 umi ,就使用 qiankun 原生的方法加载即可,和独立使用 qiankun 一个道理,比如用 不想走 qiankun props 传递的话,或者通过全局总线做订阅更新也行。 |
What happens?
使用官方这段代码进行父子应用通信,求问在父应用其他页面中,如何能调用这里的函数 将异步请求的数据设置给子应用。
Mini Showcase Repository(REQUIRED)
不明白如何再页面内调用这段。
How To Reproduce
按照umi文档操作
Context
The text was updated successfully, but these errors were encountered: