wx.openDocument 能否支持打开文档的标题名称ios显示不正确,能否正确显示名称?
发布于 5 年前 作者 xiulanshao 5050 次浏览 来自 问答

wx.openDocument 能否支持打开文档的标题名称ios显示不正确,能否正确显示名称?

机型:所有苹果手机。

微信版本:所有微信版本。

代码片段:

    wx.downloadFile({

      url: ‘https://www.wekia.cn/qitian/RAA-B6100.docx’,

      success: function (res) {

        var filePath = res.tempFilePath

        wx.openDocument({

          filePath: filePath,

          success: function (res) {

            console.log('打开文档成功')

          }

        })

      }

    })

1 回复

麻烦提供出现问题的具体机型、微信版本号、系统版本号,以及能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html

回到顶部