diff --git a/src/frontend/devops-repository/src/views/repoGeneric/previewOfficeFileDialog.vue b/src/frontend/devops-repository/src/views/repoGeneric/previewOfficeFileDialog.vue index 40ec02b7b6..a047851ad8 100644 --- a/src/frontend/devops-repository/src/views/repoGeneric/previewOfficeFileDialog.vue +++ b/src/frontend/devops-repository/src/views/repoGeneric/previewOfficeFileDialog.vue @@ -79,7 +79,7 @@ } else { this.$refs.showData.style.height = '800px' if (this.repoType === 'local') { - customizePreviewLocalOfficeFile(this.projectId, this.repoName, '/' + this.filePath).then(res => { + customizePreviewLocalOfficeFile(this.projectId, this.repoName, this.filePath).then(res => { this.showFrame = true const url = URL.createObjectURL(res.data) this.pageUrl = url