omi icon indicating copy to clipboard operation
omi copied to clipboard

在create.Page 传入多个store

Open LuHugo opened this issue 4 years ago • 2 comments

在小程序中有多个store文件,有个页面需要传递多个store才能拿全数据,这种情况怎么处理

LuHugo avatar May 12 '20 11:05 LuHugo

文件拆分,最后还是合到一个

dntzhang avatar May 12 '20 14:05 dntzhang

@dntzhang 也就是说页面相当于只能使用一个store,并不能像mobx可以注入多个store……

LuHugo avatar May 15 '20 04:05 LuHugo