bi-element-ui 1.6.18 → 1.6.19

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.
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bi-element-ui",
3
- "version": "1.6.18",
3
+ "version": "1.6.19",
4
4
  "private": false,
5
5
  "description": "基于 bi-eleme 编写的企业级 Vue 2 UI 组件库",
6
6
  "main": "lib/bi-element-ui-externals.common.js",
@@ -299,6 +299,13 @@ export default {
299
299
  }
300
300
  },
301
301
  clickShowInfo(info) {
302
+ if (!info || !info.length) return
303
+ const hasDownload = info.some(
304
+ (item) =>
305
+ String(item.field || '').includes('下载') ||
306
+ String(item.value || '').includes('下载')
307
+ )
308
+ if (hasDownload) return
302
309
  this.showInfo.info = info
303
310
  this.showInfo.visible = true
304
311
  }