mali-applet-ui 1.1.9 → 1.1.10

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.
@@ -457,6 +457,13 @@ export default {
457
457
  // #endif
458
458
 
459
459
  // #ifndef MP-DINGTALK
460
+ const downloadFileMethod = this.downloadFile ? this.downloadFile : (globalStore.upload ? globalStore.upload.downloadFile : null)
461
+ if (downloadFileMethod) {
462
+ return downloadFileMethod.call(this.currVM, {
463
+ item,
464
+ params: this.params
465
+ })
466
+ }
460
467
  uni.downloadFile({
461
468
  url: this.getUrl(item),
462
469
  success: (downRes) => {
@@ -467,7 +474,7 @@ export default {
467
474
  icon: 'none',
468
475
  mask: true,
469
476
  title: '文件已保存:' + res.savedFilePath, // 保存路径
470
- duration: 3000
477
+ duration: 4000
471
478
  })
472
479
  },
473
480
  fail (e) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mali-applet-ui",
3
- "version": "1.1.9",
3
+ "version": "1.1.10",
4
4
  "description": "vue2 码里云小程序组件库",
5
5
  "files": [
6
6
  "lib",