From 04bbfdc5e61d86899f99f8b02744671f2932b8d6 Mon Sep 17 00:00:00 2001 From: X_Rian <904416525@qq.com> Date: Sat, 27 Jul 2024 13:59:17 +0800 Subject: [PATCH] =?UTF-8?q?flx=EF=BC=9A=E8=80=83=E8=AF=95=E5=9F=B9?= =?UTF-8?q?=E8=AE=AD=E4=B8=8B=E8=BD=BD=E9=A2=84=E8=A7=88=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E4=B8=8B=E8=BD=BD=E4=B8=AD=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manifest.json | 2 +- pages/personLocation/exam/studydetails/studydetails.vue | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/manifest.json b/manifest.json index 8b7e62a6..1df34a1b 100644 --- a/manifest.json +++ b/manifest.json @@ -3,7 +3,7 @@ "appid" : "__UNI__4AA4101", "description" : "", "versionName" : "1.6.7", - "versionCode" : 166, + "versionCode" : 167, "transformPx" : false, /* 5+App特有相关 */ "app-plus" : { diff --git a/pages/personLocation/exam/studydetails/studydetails.vue b/pages/personLocation/exam/studydetails/studydetails.vue index 19d214dd..7178a5a6 100644 --- a/pages/personLocation/exam/studydetails/studydetails.vue +++ b/pages/personLocation/exam/studydetails/studydetails.vue @@ -126,6 +126,10 @@ let that = this; let url = val.url console.log(val) + uni.showLoading({ + icon: 'loading', + title: '下载中...' + }); uni.downloadFile({ url: url, success: function(res) { @@ -166,6 +170,7 @@ filePath: filePath, success: function(res) { console.log('打开文档成功'); + uni.hideLoading(); that.dataList[index].isFileOver = true; console.log(that.dataList); }