This commit is contained in:
aihe 2024-05-27 18:15:58 +08:00
parent 52430ac0ae
commit 33584ce731

View File

@ -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)