From b39e0358272ba224a7659fa2ed262c00e790ff0b Mon Sep 17 00:00:00 2001
From: zhangwencui <1064582902@qq.com>
Date: 星期一, 09 三月 2026 14:26:04 +0800
Subject: [PATCH] 图片地址修正

---
 src/pages/equipmentManagement/upkeep/maintain.vue |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/pages/equipmentManagement/upkeep/maintain.vue b/src/pages/equipmentManagement/upkeep/maintain.vue
index f99dcc1..d3b8549 100644
--- a/src/pages/equipmentManagement/upkeep/maintain.vue
+++ b/src/pages/equipmentManagement/upkeep/maintain.vue
@@ -926,11 +926,11 @@
     if (url.startsWith("http://") || url.startsWith("https://")) {
       return url;
     }
-    const uploadsIndex = url.indexOf("uploads");
-    if (uploadsIndex !== -1) {
-      const relativePath = url.substring(uploadsIndex);
-      return `${config.fileUrl}/${relativePath}`;
-    }
+    // const uploadsIndex = url.indexOf("uploads");
+    // if (uploadsIndex !== -1) {
+    //   const relativePath = url.substring(uploadsIndex);
+    //   return `${config.fileUrl}/${relativePath}`;
+    // }
     return `${config.fileUrl}/${url}`;
   };
 

--
Gitblit v1.9.3