From c7237e561c0e8ff6a0a0947e5a98153fedd842ba Mon Sep 17 00:00:00 2001 From: Yer <17633066053@163.com> Date: Tue, 16 May 2023 18:04:20 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20:bug:=20=E4=BF=AE=E6=94=B9=E8=AE=A2?= =?UTF-8?q?=E5=8D=95=E5=8F=96=E6=B6=88=E4=B8=8D=E5=B1=95=E7=A4=BAbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manifest.json | 2 +- pages/order/myOrder.vue | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/manifest.json b/manifest.json index ffd1469..a37a425 100644 --- a/manifest.json +++ b/manifest.json @@ -1,6 +1,6 @@ { "name" : "lili商城", - "appid" : "__UNI__D472780", + "appid" : "__UNI__ED807EA", "description" : "", "versionName" : "4.2.8", "versionCode" : 4000280, diff --git a/pages/order/myOrder.vue b/pages/order/myOrder.vue index 53a5bd2..f5b1809 100644 --- a/pages/order/myOrder.vue +++ b/pages/order/myOrder.vue @@ -542,13 +542,13 @@ export default { */ submitCancel() { cancelOrder(this.orderSn, { reason: this.reason }).then((res) => { - if (res.statusCode == 200) { + if (res.data.success) { uni.showToast({ title: "订单已取消", duration: 2000, icon: "none", }); - this.initData(0); + this.initData(this.tabCurrentIndex); this.cancelShow = false; } else {