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,