From 960b6c627f93e1f475c2b30cdc0baa5fb5f8da36 Mon Sep 17 00:00:00 2001
From: 张诺 <zhang_12370@163.com>
Date: 星期五, 30 一月 2026 15:27:55 +0800
Subject: [PATCH] tms 开发承运商管理模块 tms 开发承运合同模块 tms 开发承运订单模块 tms 开发承运跟踪管理模块
---
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