diff --git a/src/base/single/input/file.js b/src/base/single/input/file.js index ac5037b9a..cb24385ab 100644 --- a/src/base/single/input/file.js +++ b/src/base/single/input/file.js @@ -561,7 +561,7 @@ var validateFileType = fileTypeValidate(value, wrap.fileType); if (!validateFileType) { // 文件类型不支持 - BI.Msg.toast(BI.i18nText("BI-Upload_File_Type_Error"), { level: "error" }); + BI.Msg.toast(BI.i18nText("BI-Upload_File_Type_Error", wrap.fileType), { level: "error" }); self.fireEvent(BI.File.EVENT_ERROR, { errorType: 0, file: item