在安卓端可以直接打开,而在ios端则提示The XML document isnlU2019t in Wordformat.(null)
代码片段如下:
wx.downloadFile({
url: url,
success: function (res) {
let filePath = res.tempFilePath;
wx.openDocument({
filePath: filePath,
fileType: 'docx',
showMenu: true,
success: function (res) {
console.log('打开文档成功', res);
},
fail: function (err) {
console.log('打开失败', err);
}
});
}
});

请具体描述问题出现的流程,并提供能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。