疯狂的狮子Li
2022-01-16 dc0af0a419388b134e84cf85fdf4b320cc89c5ac
ruoyi-ui/src/components/FileUpload/index.vue
@@ -148,7 +148,7 @@
    handleUploadSuccess(res, file) {
      if (res.code === 200) {
        this.$message.success("上传成功");
        this.fileList.push({ name: res.data.fileName, url: res.data.fileName });
        this.fileList.push({ name: res.data.fileName, url: res.data.url });
        this.$emit("input", this.listToString(this.fileList));
      } else {
        this.$message.error(res.msg);