难道要在create store 的时候把store设置成全局变量吗? 这样在任意脚本中都能调用store 对象的dispatch 方法; 我想请问下有没有更好的方法, 来获取这个dispatch方法 ...
確定! 回上一頁