From f53dbf37777ed26d3ad39e4286242ee408a257b1 Mon Sep 17 00:00:00 2001 From: xpz2018 <107107461@qq.com> Date: Thu, 28 Jan 2021 17:31:37 +0800 Subject: [PATCH] no message --- pages/process/order-list/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()