From 5d6f134609c6db7fa865fd97541d6b56638ec7cf Mon Sep 17 00:00:00 2001 From: RuoYi Date: Fri, 13 Aug 2021 15:15:35 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=9A=E5=9B=BE=E4=B8=8A=E4=BC=A0=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E7=A7=BB=E9=99=A4=E5=A4=9A=E4=BD=99=E7=9A=84api?= =?UTF-8?q?=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/components/ImageUpload/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ruoyi-ui/src/components/ImageUpload/index.vue b/ruoyi-ui/src/components/ImageUpload/index.vue index 4dafd6dc..7dd0b748 100644 --- a/ruoyi-ui/src/components/ImageUpload/index.vue +++ b/ruoyi-ui/src/components/ImageUpload/index.vue @@ -184,7 +184,7 @@ export default { let strs = ""; separator = separator || ","; for (let i in list) { - strs += list[i].url + separator; + strs += list[i].url.replace(this.baseUrl, "") + separator; } return strs != '' ? strs.substr(0, strs.length - 1) : ''; }