From 2681975789d68c6ed0e34591f69d348134ded3eb Mon Sep 17 00:00:00 2001 From: duqingquan Date: Sat, 1 Jul 2023 17:00:49 +0800 Subject: [PATCH] =?UTF-8?q?show=20action=20sheet=E8=A1=A5=E5=85=85?= =?UTF-8?q?=E7=A4=BA=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/API/action-sheet/action-sheet.uvue | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/pages/API/action-sheet/action-sheet.uvue b/pages/API/action-sheet/action-sheet.uvue index 2c86c7ae..0bfd395e 100644 --- a/pages/API/action-sheet/action-sheet.uvue +++ b/pages/API/action-sheet/action-sheet.uvue @@ -144,7 +144,14 @@ title: "点击了第" + e.tapIndex + "个选项", icon: "none" }) - } + }, + fail: (e) => { + console.log(e); + uni.showToast({ + title: e.errMsg, + icon: "none" + }) + } }) } -- GitLab