|
|
@@ -400,11 +400,11 @@
|
|
|
})
|
|
|
},
|
|
|
beforeAvatarUpload (file) {
|
|
|
- let isLt50m = file.size / 1024 / 1024 / 50 < 1
|
|
|
+ let isLt50m = file.size / 1024 / 1024 / 500 < 1
|
|
|
if (!isLt50m) {
|
|
|
this.$message.error({
|
|
|
duration: 10000,
|
|
|
- message: '上传文件大小不能超过 50MB!'
|
|
|
+ message: '上传文件大小不能超过 500MB!'
|
|
|
})
|
|
|
return false
|
|
|
}
|