@@ -181,7 +181,7 @@ export default {
const isLt = file.size / 1024 / 1024 < this.fileSize;
if (!isLt) {
this.$modal.msgError(`上传头像图片大小不能超过 ${this.fileSize} MB!`);
- this.isVisible = true;
+ this.isVisible = true;
return false;
}