119363
This commit is contained in:
@@ -262,11 +262,11 @@
|
||||
current: file.accessUrl
|
||||
})
|
||||
} else {
|
||||
wx.downloadFile({
|
||||
uni.downloadFile({
|
||||
url: file.accessUrl,
|
||||
success: function (res) {
|
||||
const filePath = res.tempFilePath
|
||||
wx.openDocument({
|
||||
uni.openDocument({
|
||||
filePath: filePath,
|
||||
success: function (res) {
|
||||
console.log('打开文档成功')
|
||||
|
||||
Reference in New Issue
Block a user