|
|
@ -568,7 +568,7 @@ |
|
|
|
}); |
|
|
|
}); |
|
|
|
} else if (wrap.maxSize !== -1 && size && wrap.maxSize < size) { |
|
|
|
} 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, { |
|
|
|
self.fireEvent(BI.File.EVENT_ERROR, { |
|
|
|
errorType: 1, |
|
|
|
errorType: 1, |
|
|
|
file: item |
|
|
|
file: item |
|
|
|