疯狂的狮子li
2022-08-25 09c4c40d4dfd4ff6930f692d04af91e46235ff79
ruoyi-ui/src/components/FileUpload/index.vue
@@ -157,7 +157,7 @@
    // 上传失败
    handleUploadError(err) {
      this.$modal.msgError("上传图片失败,请重试");
      this.$modal.closeLoading()
      this.$modal.closeLoading();
    },
    // 上传成功回调
    handleUploadSuccess(res, file) {
@@ -173,6 +173,7 @@
      } else {
        this.$modal.msgError(res.msg);
        this.$modal.closeLoading();
        this.number--;
      }
    },
    // 删除文件