From 543f31d60c439c95693b40de270b6aa0c7d6f213 Mon Sep 17 00:00:00 2001 From: shijingjing <1789544664@qq.com> Date: Thu, 28 Apr 2022 18:43:13 +0800 Subject: [PATCH] 119363 --- src/apps/AppInfotainment/newsDetail.vue | 4 ++-- src/apps/AppInfotainment/newsList.vue | 2 +- src/apps/AppMonitoringObject/MonitorAddFamilyMember.vue | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/apps/AppInfotainment/newsDetail.vue b/src/apps/AppInfotainment/newsDetail.vue index 148335b0..6f8609c1 100644 --- a/src/apps/AppInfotainment/newsDetail.vue +++ b/src/apps/AppInfotainment/newsDetail.vue @@ -262,11 +262,11 @@ current: file.accessUrl }) } else { - wx.downloadFile({ + uni.downloadFile({ url: file.accessUrl, success: function (res) { const filePath = res.tempFilePath - wx.openDocument({ + uni.openDocument({ filePath: filePath, success: function (res) { console.log('打开文档成功') diff --git a/src/apps/AppInfotainment/newsList.vue b/src/apps/AppInfotainment/newsList.vue index c9ba5f7e..328b340a 100644 --- a/src/apps/AppInfotainment/newsList.vue +++ b/src/apps/AppInfotainment/newsList.vue @@ -45,7 +45,7 @@