Forráskód Böngészése

单个图片上传

wangyani 11 hónapja
szülő
commit
33aef311ed
1 módosított fájl, 1 hozzáadás és 1 törlés
  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;
         }
       }