From e5c3a10ffc181fadd32c19ed0dc566d8a0cb93d7 Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期二, 17 三月 2026 16:10:59 +0800
Subject: [PATCH] fix: 库存报表页面未做页码分页(仓储物流的入库管理也没有分页)
---
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