变更
This commit is contained in:
@@ -73,6 +73,7 @@ export interface UploadProps {
|
||||
dragText?: string;
|
||||
modelValue?: any;
|
||||
auto?: boolean;
|
||||
sizeOutMsg?: string;
|
||||
}
|
||||
|
||||
const getCutDownResult = () => {
|
||||
@@ -337,7 +338,7 @@ const uploadChange = (e: any) => {
|
||||
let _file = _files[i];
|
||||
let _size = _file.size;
|
||||
if (_size > props.size * 1024) {
|
||||
errorF(occurFileSizeErrorMsg.value);
|
||||
errorF(props.sizeOutMsg || occurFileSizeErrorMsg.value);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user