|
@@ -111,8 +111,16 @@ export default {
|
|
|
url: this.$method.splitImgHost(res.data.msg),
|
|
|
success: result => {
|
|
|
if (result.statusCode === 200) {
|
|
|
+ const filePath = result.tempFilePath
|
|
|
console.log(this.$method.splitImgHost(res.data.msg));
|
|
|
this.$method.showToast('下载成功');
|
|
|
+ uni.openDocument({
|
|
|
+ filePath: filePath,
|
|
|
+ fileType:'doc',
|
|
|
+ showMenu:true,
|
|
|
+ success: function (res) {
|
|
|
+ }
|
|
|
+ })
|
|
|
}
|
|
|
}
|
|
|
});
|