//预览
previewDocx(){uni.downloadFile({url: '服务器链接地址',success: (res) => {if (res.statusCode === 200) {uni.openDocument({filePath: res.tempFilePath, // 如果文件名包含中文,建议使用escape(res.tempFilePath)转码,防止ios和安卓客户端导致的差异success: function(res) {console.log('打开文档成功');}});}}})
},
版权声明:本站所有资料均为网友推荐收集整理而来,仅供学习和研究交流使用。
工作时间:8:00-18:00
客服电话
电子邮件
admin@qq.com
扫码二维码
获取最新动态