Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个有两个或多个子视图的父视图,我想知道如何让子视图知道父视图中发生了一些事件,以便他们可以获取数据然后渲染?
目前,我使用自定义事件来做到这一点。有什么建议吗?