diff --git a/package.json b/package.json index cfbc90bcf..4baa64c55 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "fineui", - "version": "2.0.20211115095256", + "version": "2.0.20211115202228", "description": "fineui", "main": "dist/fineui.min.js", "types": "dist/lib/index.d.ts", diff --git a/src/base/single/input/file.js b/src/base/single/input/file.js index 904fbfcf5..55ce415e4 100644 --- a/src/base/single/input/file.js +++ b/src/base/single/input/file.js @@ -668,7 +668,11 @@ }, getValue: function () { - return this.wrap ? this.wrap.attach_array : []; + return this.wrap + ? BI.filter(this.wrap.attach_array, function (index, attach) { + return attach.attach_id; + }) + : []; }, getQueue: function () {