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)