Component “components/dialog/dialog” does not have a method "_onComfirm " to handle event “tap”.
组件内的 方法需要放到 method 下 。这样的:
data: {},method: {
onConfirm() {}
}
你bindtap绑定了个方法 叫做 _onComfirm 但是你组件的js的methods对象里 并没有这个方法