修改样式
This commit is contained in:
@@ -457,7 +457,7 @@ const handleCoverSuccess: UploadProps['onSuccess'] = (response) => {
|
||||
};
|
||||
|
||||
const beforeCoverUpload: UploadProps['beforeUpload'] = (rawFile) => {
|
||||
const isLt5M = rawFile.size / 1024 / 1024 < 5;
|
||||
const isLt5M = rawFile.size / 1024 / 1024 < 15;
|
||||
if (!isLt5M) {
|
||||
ElMessage.error('图片大小不能超过 5MB!');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user