diff --git a/ruoyi-ui/src/components/ImageUpload/index.vue b/ruoyi-ui/src/components/ImageUpload/index.vue index 978576f8f..c519ad3a3 100644 --- a/ruoyi-ui/src/components/ImageUpload/index.vue +++ b/ruoyi-ui/src/components/ImageUpload/index.vue @@ -124,7 +124,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(); },