参考文档:https://segmentfault.com/q/1010000007575332 关键地方在于他们怎么运用 “观察者模式” 转载于:https://www.cnblogs.com/taoshengyijiuai/p/8796815.html