From 135d34c00a3a8f8be51477185005a20a5fdcb143 Mon Sep 17 00:00:00 2001 From: lannoy0523 <935275025@qq.com> Date: Tue, 31 Dec 2024 18:04:03 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=96=87=E4=BB=B6=E5=9C=A8=E7=BA=BF?= =?UTF-8?q?=E9=A2=84=E8=A7=88=E6=94=AF=E6=8C=81=E6=9B=B4=E5=A4=9A=E7=9A=84?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E7=B1=BB=E5=9E=8B=20#2765?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/FilePreview/filePreview.vue | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/frontend/devops-repository/src/components/FilePreview/filePreview.vue b/src/frontend/devops-repository/src/components/FilePreview/filePreview.vue index 205dfb6ec7..0008b73823 100644 --- a/src/frontend/devops-repository/src/components/FilePreview/filePreview.vue +++ b/src/frontend/devops-repository/src/components/FilePreview/filePreview.vue @@ -63,7 +63,7 @@ basicFileText: '', hasError: false, pageUrl: '', - showFrame: true + showFrame: false } }, computed: { @@ -94,8 +94,7 @@ }).catch((e) => { this.hasError = true }) - } else if (this.filePath.endsWith('.xlsx') - ) { + } else if (this.filePath.endsWith('.xlsx')) { customizePreviewOfficeFile(this.projectId, this.repoName, '/' + this.filePath).then(res => { this.previewExcel = true this.dataSource = res.data