From 5746f73d9eeb78db465cc9da55373e4d5c424d99 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期三, 16 四月 2025 15:22:32 +0800
Subject: [PATCH] 管理体系文件控制-查询回车搜索
---
src/components/Preview/filePreview.vue | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/src/components/Preview/filePreview.vue b/src/components/Preview/filePreview.vue
index 1105afc..7633c5e 100644
--- a/src/components/Preview/filePreview.vue
+++ b/src/components/Preview/filePreview.vue
@@ -5,7 +5,7 @@
</div>
<div v-if="isPdf">
<object :data="fileUrl" type="application/pdf" width="100%" height="750px">
- <p>鎮ㄧ殑娴忚鍣ㄤ笉鏀寔 PDF 棰勮銆�<a :href="fileUrl" style="color: #3a7bfa;">涓嬭浇 PDF 鏂囦欢</a></p>
+ <p>鎮ㄧ殑娴忚鍣ㄤ笉鏀寔 PDF 棰勮銆�<a :href="fileUrl" style="color: #3a7bfa;" target="_blank">涓嬭浇 PDF 鏂囦欢</a></p>
</object>
</div>
<div v-if="isDoc">
@@ -96,7 +96,6 @@
if (state) {
this.imgUrl = this.fileUrl.replaceAll('word', 'img')
}
- console.log(11111, this.imgUrl)
return state;
},
isPdf() {
--
Gitblit v1.9.3