有用过mpvue的吗~ 关于triggerEvent

发布于 8 年前作者 qiangjiang12836 次浏览最后编辑 8 年前来自 ask

在mpvue中怎么使用triggerEvent()

我用mpvue重用triggerEvent()会显示

_this.triggerEvent is not a function;at api request success callback function

TypeError: _this.triggerEvent is not a function

这样滴~~

子组件是这样的

错误是上面这样的~

1 回复
qshi
qshi1 楼6 年前