diff --git a/src/base/single/input/file.js b/src/base/single/input/file.js index 49e7b84ba..4dfc67649 100644 --- a/src/base/single/input/file.js +++ b/src/base/single/input/file.js @@ -508,11 +508,11 @@ } else { wrap.files.unshift(item); // BI.Msg.toast(value); - self.fireEvent(BI.File.EVENT_CHANGE, { - file: item - }); } } + self.fireEvent(BI.File.EVENT_CHANGE, { + files: wrap.files + }); input.value = ""; wrap.dom.input.parentNode.replaceChild(input, wrap.dom.input); wrap.dom.input = input;