diff --git a/pages/process/order-list/index.js b/pages/process/order-list/index.js index 6b6f73a..b282a61 100644 --- a/pages/process/order-list/index.js +++ b/pages/process/order-list/index.js @@ -100,7 +100,7 @@ Page({ cancelOrder: function(e){ Dialog.confirm({ title: '温馨提示', message: '确定取消该订单?' }).then(() => { wx.showLoading({ title: '正在获取', mask: true }) - cancelOrder(this.data.form.id).then(result => { + cancelOrder(e.currentTarget.dataset.id).then(result => { wx.hideLoading() util.showToast('订单已经删除') this.onRefreshList()