✨(component): upload 组件 i18n 兼容
This commit is contained in:
@@ -45,4 +45,19 @@ export default {
|
||||
empty: {
|
||||
description: "No data",
|
||||
},
|
||||
upload: {
|
||||
text: "Upload files",
|
||||
dragText: "Click Upload or drag the file here",
|
||||
defaultErrorMsg: "Upload failed",
|
||||
urlErrorMsg: "The upload address format is illegal",
|
||||
numberErrorMsg: "The number of files uploaded exceeds the specified number",
|
||||
cutInitErrorMsg: "Clipping plug-in initialization failed",
|
||||
uploadSuccess: "Upload succeeded",
|
||||
cannotSupportCutMsg: "The current version does not support single multiple file clipping. Try to set multiple to false, and get the returned file object through @ done",
|
||||
occurFileSizeErrorMsg: "File size warning,The maximum file size cannot exceed target KB",
|
||||
startUploadMsg: "Upload Start",
|
||||
confirmBtn: "confirm",
|
||||
cancelBtn: "cancel",
|
||||
title: "title",
|
||||
},
|
||||
};
|
||||
|
||||
@@ -45,4 +45,19 @@ export default {
|
||||
empty: {
|
||||
description: "无数据",
|
||||
},
|
||||
upload: {
|
||||
text: "上传文件",
|
||||
dragText: "点击上传,或将文件拖拽到此处",
|
||||
defaultErrorMsg: "上传失败",
|
||||
urlErrorMsg: "上传地址格式不合法",
|
||||
numberErrorMsg: "文件上传超过规定的个数",
|
||||
cutInitErrorMsg: "剪裁插件初始化失败",
|
||||
uploadSuccess: "上传成功",
|
||||
cannotSupportCutMsg: "当前版本暂不支持单次多文件剪裁,尝试设置 multiple 为 false, 通过 @done 获取返回文件对象",
|
||||
occurFileSizeErrorMsg: "文件大小超过限制,文件最大不可超过传入的指定size属性的KB数",
|
||||
startUploadMsg: "开始上传",
|
||||
confirmBtn: "确认",
|
||||
cancelBtn: "取消",
|
||||
title: "标题",
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user