瀏覽代碼

单个图片上传

wangyani 11 月之前
父節點
當前提交
33aef311ed
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/components/ImageUploadSingle/index.vue

+ 1 - 1
src/components/ImageUploadSingle/index.vue

@@ -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;
         }
       }