BUG 29414

This commit is contained in:
aixianling
2022-04-29 20:20:09 +08:00
parent 614b3d1947
commit f3a554abb9

View File

@@ -87,18 +87,9 @@ export default {
current: file.accessUrl
})
} else {
uni.downloadFile({
uni.previewFile({
url: file.accessUrl,
success: function (res) {
var filePath = res.tempFilePath
uni.openDocument({
filePath: filePath,
showMenu: true,
success: function (res) {
console.log('打开文档成功')
}
})
}
size: file.size
})
}
},