From 2abaf1a68cc38303724d7aa74d2d3ed81af6466f Mon Sep 17 00:00:00 2001
From: zhanghua <314079846@qq.com>
Date: 星期日, 31 三月 2024 22:09:30 +0800
Subject: [PATCH] bug修改

---
 src/components/scene/index.vue |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/src/components/scene/index.vue b/src/components/scene/index.vue
index 81ca02c..aaea743 100644
--- a/src/components/scene/index.vue
+++ b/src/components/scene/index.vue
@@ -147,7 +147,7 @@
     </div>
 </template>
 <script>
-import { FILE_ORIGINAL_URL } from "@/utils";
+import { FILE_ORIGINAL_PATH } from "@/utils";
 export default {
     data() {
         return {
@@ -187,10 +187,9 @@
                 if (invesList.pic) {
                     invesList.pic.forEach((o) => {
                         o = o.replace("[", "").replace("]", "");
-                        o = o.replace("http://111.1.140.92:28081/sccg/API/img?fileUrl=","")
-    
+
                         this.investigation.pic.push(
-                            `${FILE_ORIGINAL_URL}sccg/API/img?fileUrl=${o}`
+                            FILE_ORIGINAL_PATH + o
                         );
                     });
                 }
@@ -206,7 +205,7 @@
                     urls.forEach((o) => {
                         o = o.replace("[", "").replace("]", "");
                         this.arrivalSituation.situationPic.push(
-                            `${FILE_ORIGINAL_URL}sccg/API/img?fileUrl=${o}`
+                            FILE_ORIGINAL_PATH + o
                         );
                     });
                 }

--
Gitblit v1.8.0