mali-applet-ui 1.0.185 → 1.0.186
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -449,6 +449,14 @@ export default {
|
|
|
449
449
|
}
|
|
450
450
|
},
|
|
451
451
|
downloadEvent (item) {
|
|
452
|
+
// #ifdef MP-DINGTALK
|
|
453
|
+
uni.showModal({
|
|
454
|
+
content: '当前环境不支持下载',
|
|
455
|
+
showCancel: false
|
|
456
|
+
})
|
|
457
|
+
// #endif
|
|
458
|
+
|
|
459
|
+
// #ifndef MP-DINGTALK
|
|
452
460
|
uni.downloadFile({
|
|
453
461
|
url: this.getUrl(item),
|
|
454
462
|
success: (downRes) => {
|
|
@@ -474,6 +482,7 @@ export default {
|
|
|
474
482
|
})
|
|
475
483
|
}
|
|
476
484
|
})
|
|
485
|
+
// #endif
|
|
477
486
|
},
|
|
478
487
|
choose () {
|
|
479
488
|
if (this.loading) {
|