update ruoyi-ui/src/components/ImageUpload/index.vue.

修复上传图片属性字段使用错误
This commit is contained in:
乐心湖
2021-08-11 15:59:16 +00:00
committed by Gitee
parent 7be17ea89a
commit c7f4388739

View File

@ -122,7 +122,7 @@ export default {
},
// 上传成功回调
handleUploadSuccess(res) {
this.fileList.push({ name: res.fileName, url: res.fileName });
this.fileList.push({ name: res.fileName, url: res.url });
this.$emit("input", this.listToString(this.fileList));
this.loading.close();
},