Commit dd975f2b authored by 杨梦雪's avatar 杨梦雪

上传上限更改

parent 05f0ab9d
......@@ -507,11 +507,11 @@ export default {
},
//上传前
beforeAvatarUpload(file) {
const isLt100M = file.size / 1024 / 1024 < 100;
if (!isLt100M) {
this.$message.info("上传图片大小不能超过 100MB!");
const isLt500M = file.size / 1024 / 1024 < 500;
if (!isLt500M) {
this.$message.info("上传图片大小不能超过 500MB!");
}
return isLt100M;
return isLt500M;
},
uploadPicture(params) {
......
Markdown is supported
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