From 6b35a453725b34422e5336b456f03b92b963f2d8 Mon Sep 17 00:00:00 2001 From: spring <2396852758@qq.com> Date: 星期五, 21 三月 2025 13:35:06 +0800 Subject: [PATCH] Merge branch 'radio-frequency-cable-before' of http://114.132.189.42:9002/r/lims-ruoyi-before into radio-frequency-cable-before --- 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