From 5381ea0c47d23fc413134c8fd5a203f5356b72e2 Mon Sep 17 00:00:00 2001 From: huliyong <2783385703@qq.com> Date: Wed, 6 Aug 2025 17:54:42 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=A7=BB=E9=99=A4=E6=89=93=E5=BC=80?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E5=A4=B1=E8=B4=A5=E6=97=B6=E7=9A=84=E5=86=97?= =?UTF-8?q?=E4=BD=99=E6=8F=90=E7=A4=BA=E5=B9=B6=E6=B7=BB=E5=8A=A0showMenu?= =?UTF-8?q?=E9=80=89=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 移除uni.openDocument失败时的冗余toast提示,同时添加showMenu选项以提供更好的用户体验 --- pages_order/work/postConsult.vue | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/pages_order/work/postConsult.vue b/pages_order/work/postConsult.vue index a5ef99e..e59d81e 100644 --- a/pages_order/work/postConsult.vue +++ b/pages_order/work/postConsult.vue @@ -152,17 +152,13 @@ success: (res) => { if (res.statusCode === 200) { uni.openDocument({ + showMenu: true, filePath: res.tempFilePath, success: () => { console.log('文件打开成功') }, fail: (err) => { console.log('文件打开失败', err) - uni.showToast({ - title: '文件已保存,请在文件管理器中查看', - icon: 'none', - duration: 3000 - }) } }) }