From 4a68a94d5e429eca8b01a24bdbf601c0331ff73d Mon Sep 17 00:00:00 2001
From: zhangwencui <1064582902@qq.com>
Date: 星期一, 09 三月 2026 17:27:51 +0800
Subject: [PATCH] 保养预览
---
src/pages/equipmentManagement/upkeep/maintain.vue | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/pages/equipmentManagement/upkeep/maintain.vue b/src/pages/equipmentManagement/upkeep/maintain.vue
index 772881a..d3b8549 100644
--- a/src/pages/equipmentManagement/upkeep/maintain.vue
+++ b/src/pages/equipmentManagement/upkeep/maintain.vue
@@ -926,12 +926,12 @@
if (url.startsWith("http://") || url.startsWith("https://")) {
return url;
}
- const uploadsIndex = url.indexOf("uploads");
- if (uploadsIndex !== -1) {
- const relativePath = url.substring(uploadsIndex);
- return `${config.baseUrl}/${relativePath}`;
- }
- return `${config.baseUrl}/${url}`;
+ // 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