Browse Source

JSY-17350

es6
Lee94 2 years ago
parent
commit
36b5aba5f4
  1. 2
      src/base/single/input/file.js

2
src/base/single/input/file.js

@ -568,7 +568,7 @@
});
} else if (wrap.maxSize !== -1 && size && wrap.maxSize < size) {
// 文件大小不支持
BI.Msg.toast(BI.i18nText("BI-Upload_File_Size_Error"), { level: "error" });
BI.Msg.toast(BI.i18nText("BI-Upload_File_Size_Error", wrap.maxSize), { level: "error" });
self.fireEvent(BI.File.EVENT_ERROR, {
errorType: 1,
file: item

Loading…
Cancel
Save