From 44e23de5a07f296341d8cba969b98c420ae9c0f3 Mon Sep 17 00:00:00 2001 From: duqingquan Date: Thu, 7 Mar 2024 20:52:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96action=20sheet=20=E6=B5=8B?= =?UTF-8?q?=E8=AF=95=E7=A4=BA=E4=BE=8B=EF=BC=8C=E8=B6=85=E5=87=BA=E5=85=AD?= =?UTF-8?q?=E4=B8=AA=E5=85=83=E7=B4=A0=E5=B9=B6=E4=B8=94=E9=80=89=E6=8B=A9?= =?UTF-8?q?=E5=85=B6=E4=BB=96=E9=80=89=E9=A1=B9=E6=83=85=E5=86=B5=E4=B9=9F?= =?UTF-8?q?=E4=BC=9Atoast=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/API/action-sheet/action-sheet.uvue | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pages/API/action-sheet/action-sheet.uvue b/pages/API/action-sheet/action-sheet.uvue index 2642faa5..57955275 100644 --- a/pages/API/action-sheet/action-sheet.uvue +++ b/pages/API/action-sheet/action-sheet.uvue @@ -116,7 +116,13 @@ icon: "none" }) }, - fail: (e) => { + fail: (e) => { + if(this.showErrorToast){ + uni.showToast({ + title: e.errMsg, + icon: "none" + }) + } console.log(e); } }) -- GitLab