uni.downloadFile({
url: resTwo.data.ossUrl,//docx的oss链接
success: async function(res) {
console.log(res.tempFilePath)
uni.openDocument({
filePath: res.tempFilePath,
showMenu: true,
success: function(res1) {
console.log('打开文档成功=>', res1);
}
});
} 因为res.tempFilePath没有后缀导致后续预览无效 在iphone14pro ios17.6.1 微信版本8.0.54 目前在安卓是正常的