From 13906024e4c4c88bda9aa1e4797e594ed487e0f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E6=B5=A9?= <15830956848@163.com> Date: Wed, 14 May 2025 17:39:45 +0800 Subject: [PATCH] =?UTF-8?q?5.14=E5=8F=B7=EF=BC=8C=E6=A0=B8=E9=94=80?= =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/tabbar/user/utils/tool.vue | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/pages/tabbar/user/utils/tool.vue b/pages/tabbar/user/utils/tool.vue index 38a509a4..e4324b88 100644 --- a/pages/tabbar/user/utils/tool.vue +++ b/pages/tabbar/user/utils/tool.vue @@ -183,13 +183,13 @@ export default { const par = res.result.split("|"); getGoodstake(par[0], par[1], { storeid: par[2] }).then((resfn) => { console.log("resfn", resfn); - - if (resfn.data.success) { - uni.showToast({ - title: resfn.data.message, - icon: "none", - }); - } + let title = resfn.data.code === 200 ? "核销成功" : "核销失败"; + uni.showModal({ + title: "提示", + content: title, + showCancel: false, + confirmText: "确定", + }); // } });