From 593c64e484a6c2e09f25eee663b42925d06a7e74 Mon Sep 17 00:00:00 2001 From: tianyi <13521030702@163.com> Date: Fri, 15 May 2026 11:08:59 +0800 Subject: [PATCH] 1 --- package1/address/addressList.vue | 8 ++++---- package1/buyFood/buyFood.vue | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package1/address/addressList.vue b/package1/address/addressList.vue index 3868d0b..94d47cc 100644 --- a/package1/address/addressList.vue +++ b/package1/address/addressList.vue @@ -205,11 +205,11 @@ this.addressForm.userId = uni.getStorageSync('id') that.tui.request(url, "POST", this.addressForm, false, true).then((res) => { if (res.code == 200) { - that.tui.toast("保存成功"); + that.tui.toast("保存成功",1000); that.$refs.addBookPopup.close(); that.getAddressList(); } else { - that.tui.toast(res.message); + that.tui.toast(res.message,1000); } }).catch(() => {}); }, @@ -222,10 +222,10 @@ if (res.confirm) { that.tui.request("/app/userAddress/delById", "POST", {id: id}, false, true).then((res) => { if (res.code == 200) { - that.tui.toast("删除成功"); + that.tui.toast("删除成功",1000); that.getAddressList(); } else { - that.tui.toast(res.message); + that.tui.toast(res.message,1000); } }).catch(() => {}); } diff --git a/package1/buyFood/buyFood.vue b/package1/buyFood/buyFood.vue index c435c26..1851027 100644 --- a/package1/buyFood/buyFood.vue +++ b/package1/buyFood/buyFood.vue @@ -804,7 +804,7 @@ }, fail: function(err) { uni.redirectTo({ - url: '/package1/order/orderConfirm?id=' + this.currentOrderId + '&amount=' + this.backendTotalAmount + url: '/package1/order/orderDetail?id=' + that.currentOrderId }); } });