From 27870f5f6297a44a61b4e2efb2776235087af1f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=8D=E5=81=9A=E7=A0=81=E5=86=9C?= <599854767@qq.com> Date: Sat, 28 May 2022 16:17:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=96=87=E4=BB=B6=E5=AD=98?= =?UTF-8?q?=E5=82=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/ImageUpload/index.vue | 2 +- src/views/tool/file/index.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/ImageUpload/index.vue b/src/components/ImageUpload/index.vue index 5bd1d7d..33cc4be 100644 --- a/src/components/ImageUpload/index.vue +++ b/src/components/ImageUpload/index.vue @@ -182,7 +182,7 @@ function listToString(list, separator) { separator = separator || ',' for (let i in list) { if (undefined !== list[i].url && list[i].url.indexOf('blob:') !== 0) { - strs += list[i].url.replace(baseUrl, '') + separator + strs += list[i].url + separator } } return strs != '' ? strs.substr(0, strs.length - 1) : '' diff --git a/src/views/tool/file/index.vue b/src/views/tool/file/index.vue index 436b068..20127ee 100644 --- a/src/views/tool/file/index.vue +++ b/src/views/tool/file/index.vue @@ -273,7 +273,7 @@ function reset() { form.value = { fileName: '', fileUrl: '', - storePath: 'uploads', + storePath: '', fileSize: 0, fileExt: '', storeType: 1,