Closed xueyou2000 closed 4 years ago
Component({ behaviors: [storeBindingsBehavior], storeBindings: { // 能否同时绑定多个store呢 store: [test1Store, test2Store], }, });
文档上好像说只能是一个 MobX observable
一个 MobX observable
看源码, 原来storeBindings支持数组配置, (逃)
storeBindings
文档上好像说只能是
一个 MobX observable