uu
This commit is contained in:
parent
52430ac0ae
commit
33584ce731
@ -114,6 +114,12 @@ const saveNetFile = (url) => {
|
|||||||
let { tempFilePath } = await downloadFile(url)
|
let { tempFilePath } = await downloadFile(url)
|
||||||
console.log("save:orgin:tempFilePath", tempFilePath)
|
console.log("save:orgin:tempFilePath", tempFilePath)
|
||||||
let res = await saveFile({ tempFilePath })
|
let res = await saveFile({ tempFilePath })
|
||||||
|
|
||||||
|
// #ifdef APP-PLUS
|
||||||
|
plus.io.convertLocalFileSystemURL(tempFilePath);
|
||||||
|
plus.runtime.openFile(tempFilePath); //选择软件打开文件
|
||||||
|
// #endif
|
||||||
|
|
||||||
hideLoading()
|
hideLoading()
|
||||||
showToast('保存成功')
|
showToast('保存成功')
|
||||||
resolve(res)
|
resolve(res)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user