From 72e5cb3e5ecfbefba31ad0fa4a25b42ff93c9071 Mon Sep 17 00:00:00 2001 From: jscyl_mac <13849007907@163.com> Date: Thu, 3 Jul 2025 18:16:27 +0800 Subject: [PATCH] no message --- root/detail/apply.vue | 2 +- utils/ajax.js | 14 ++++++++++---- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/root/detail/apply.vue b/root/detail/apply.vue index df710ca..cda8b07 100644 --- a/root/detail/apply.vue +++ b/root/detail/apply.vue @@ -742,7 +742,7 @@ export default { success(era) { if(era.confirm){ uni.switchTab({ - url:'/pages/home/index' + url:`/root/detail/apply?id=${that.oid}&type=${that.type}&relationId=${that.relationId}` }) }else{ diff --git a/utils/ajax.js b/utils/ajax.js index 69fb1da..f709e58 100644 --- a/utils/ajax.js +++ b/utils/ajax.js @@ -152,10 +152,16 @@ let data = { }); }, 1500); } else {// 其他异常 - uni.showToast({ - title: resData.msg, - icon: "none" - }); + if($url == '/yishoudan/user/apply/order/V2/details'){ + + }else{ + uni.showToast({ + title: resData.msg, + icon: "none" + }); + } + + failback(resData.msg); } },