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