From f7bd6321d824a92da49b1b35aa729a29502f19bc Mon Sep 17 00:00:00 2001
From: huminmin <mac@MacBook-Pro.local>
Date: 星期五, 27 二月 2026 15:09:27 +0800
Subject: [PATCH] 设备管理:备件管理去掉价格;设备保修和设备保养增加关联设备备件
---
src/components/filePreview/index.vue | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/components/filePreview/index.vue b/src/components/filePreview/index.vue
index 7221b25..cda5b56 100644
--- a/src/components/filePreview/index.vue
+++ b/src/components/filePreview/index.vue
@@ -88,6 +88,7 @@
});
const isPdf = computed(() => {
+ console.log(fileUrl.value)
return /\.pdf$/i.test(fileUrl.value);
});
@@ -163,7 +164,7 @@
};
const open = (url) => {
- fileUrl.value = javaApi + url;
+ fileUrl.value = window.location.protocol+'//'+window.location.host+ url;
dialogVisible.value = true;
};
const handleClose = () => {
--
Gitblit v1.9.3