alibaba / fish-redux

An assembled flutter application framework.
https://github.com/alibaba/fish-redux
Apache License 2.0
7.33k stars 843 forks source link

fish-redux里的ctx.broadcast可以代替eventbus吗 #576

Closed hasonguo closed 4 years ago

hasonguo commented 4 years ago

比如有A和B两个page,首先进入A页面,然后发起联网请求了,然后点击A页面的一个按钮跳转到B页面,这时候A页面数据还没回来,要求A页面回来后将数据传送给B页面,可以用ctx.broadcast实现吗,我试了不行呢,B页面收不到action