Skip to content

Commit

Permalink
feat: 文件在线预览支持更多的文件类型 #2765
Browse files Browse the repository at this point in the history
  • Loading branch information
lannoy0523 committed Jan 2, 2025
1 parent 135d34c commit 4591940
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4591940

Please sign in to comment.