From 379ad4226bc5a3ad175635b5c40e6bf5b68e4069 Mon Sep 17 00:00:00 2001 From: spring <2396852758@qq.com> Date: 星期三, 19 三月 2025 13:30:59 +0800 Subject: [PATCH] 能力范围功能更新70% --- src/components/Preview/filePreview.vue | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Preview/filePreview.vue b/src/components/Preview/filePreview.vue index 1105afc..f1c8d13 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,7 @@ if (state) { this.imgUrl = this.fileUrl.replaceAll('word', 'img') } - console.log(11111, this.imgUrl) + console.log(2222, this.imgUrl) return state; }, isPdf() { -- Gitblit v1.9.3