From f7f0e44c4be8eb0e77fd310296c3b43bde21e4f9 Mon Sep 17 00:00:00 2001
From: ZZJ <10913410+zzj2100@user.noreply.gitee.com>
Date: 星期四, 23 六月 2022 14:17:01 +0800
Subject: [PATCH] 新增联动场景

---
 src/components/subComponents/ImageShow.vue |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/src/components/subComponents/ImageShow.vue b/src/components/subComponents/ImageShow.vue
index c22e128..5aac2f0 100644
--- a/src/components/subComponents/ImageShow.vue
+++ b/src/components/subComponents/ImageShow.vue
@@ -1,5 +1,5 @@
 <template>
-  <img :src="url" alt="" />
+  <img class="a111" :src="url" alt="" />
 </template>
 
 <script>
@@ -9,8 +9,12 @@
   },
   computed: {
     url() {
-      if (this.src.indexOf("http://apps.smartai.com/httpImage/") === -1) {
-        return "httpImage" + this.src;
+      if (
+        this.src &&
+        this.src.indexOf("http://apps.smartai.com/httpImage/") === -1 &&
+        this.src.indexOf("/images") !== 0
+      ) {
+        return "/httpImage/" + this.src;
       } else {
         return this.src;
       }

--
Gitblit v1.8.0