zhixu369

Results 1 comments of zhixu369

比如,我定义了如下的全局状态和方法 *const eventStore = new HYEventStore({  state: {    name: "why",  },   actions: {  //全局跳转方法  goUrl(path) {    wx.navigateTo({    url:path   })  }  } })* 然后我可以这样使用,在.wxml中 ` {{name}}...