From cbc2fe74fb54aad814695982c2987e064696f540 Mon Sep 17 00:00:00 2001
From: qq_41295110 <qq_41295110@noreply.gitcode.com>
Date: 星期五, 16 一月 2026 10:49:49 +0800
Subject: [PATCH] Merge branch 'master' of http://101.37.171.70:10101/r/MES-WEB-VUEUI
---
src/components/ImageUpload/index.vue | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/components/ImageUpload/index.vue b/src/components/ImageUpload/index.vue
index 6b24f6e..4df39b1 100644
--- a/src/components/ImageUpload/index.vue
+++ b/src/components/ImageUpload/index.vue
@@ -130,8 +130,8 @@
// 鐒跺悗灏嗘暟缁勮浆涓哄璞℃暟缁�
this.fileList = list.map(item => {
if (typeof item === "string") {
- if (item.indexOf(this.baseUrl) === -1 && !isExternal(item)) {
- item = { name: this.baseUrl + item, url: this.baseUrl + item }
+ if (item.indexOf(this.$baseUrl) === -1 && !isExternal(item)) {
+ item = { name: this.$baseUrl + item, url: this.$baseUrl + item }
} else {
item = { name: item, url: item }
}
@@ -240,7 +240,7 @@
separator = separator || ","
for (let i in list) {
if (list[i].url) {
- strs += list[i].url.replace(this.baseUrl, "") + separator
+ strs += list[i].url.replace(this.$baseUrl, "") + separator
}
}
return strs != '' ? strs.substr(0, strs.length - 1) : ''
--
Gitblit v1.9.1