下载版本增加遮罩

This commit is contained in:
GaoHao
2024-12-11 17:17:23 +08:00
parent 3be46138ae
commit c531d15343
2 changed files with 14 additions and 8 deletions

10
App.vue
View File

@@ -468,7 +468,10 @@
content: res.des,
success: res => {
if (res.confirm) {
that.$queue.showLoading('下载中...');
uni.showLoading({
title: '下载中...',
mask: true
});
if (uni.getSystemInfoSync().platform ==
'android') {
uni.downloadFile({
@@ -525,7 +528,10 @@
content: res.des,
success: res => {
if (res.confirm) {
that.$queue.showLoading('下载中...');
uni.showLoading({
title: '下载中...',
mask: true
});
if (uni.getSystemInfoSync().platform ==
'android') {
uni.downloadFile({