From 33584ce731a854fef542a488173580c8915ae905 Mon Sep 17 00:00:00 2001 From: aihe <961836564@qq.com> Date: Mon, 27 May 2024 18:15:58 +0800 Subject: [PATCH] uu --- common/untool.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/common/untool.js b/common/untool.js index 9ae916b..426d9b1 100644 --- a/common/untool.js +++ b/common/untool.js @@ -114,6 +114,12 @@ const saveNetFile = (url) => { let { tempFilePath } = await downloadFile(url) console.log("save:orgin:tempFilePath", tempFilePath) let res = await saveFile({ tempFilePath }) + + // #ifdef APP-PLUS + plus.io.convertLocalFileSystemURL(tempFilePath); + plus.runtime.openFile(tempFilePath); //选择软件打开文件 + // #endif + hideLoading() showToast('保存成功') resolve(res)