Commit 681efcb2 authored by 季圣华's avatar 季圣华
Browse files

优化图片和文件上传

parent aa360938
......@@ -140,7 +140,7 @@
//验证文件大小
if(fileSize>this.sizeLimit) {
let parseSizeLimit = (this.sizeLimit/1024/1024).toFixed(2)
this.$message.warning('抱歉,文件大小不能超过' + parseSizeLimit + 'M');
this.$message.warning('抱歉,图片大小不能超过' + parseSizeLimit + 'M');
this.uploadGoOn=false
return false;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment