|
@@ -194,9 +194,9 @@ export default {
|
|
|
this.dialogVisible = true;
|
|
|
},
|
|
|
handleBeforeUpload(file) {
|
|
|
- const isLt100M = file.size / 1024 / 1024 > 0.5 && file.size / 1024 / 1024 < 5;
|
|
|
+ const isLt100M = file.size / 1024 / 1024 < 5;
|
|
|
if (!isLt100M) {
|
|
|
- this.$message.error("上传照片大小要在0.5MB ~ 5MB之间哦!");
|
|
|
+ this.$message.error("上传照片大小要在5MB以内哦!");
|
|
|
return false;
|
|
|
}
|
|
|
this.loading = this.$loading({
|