Skip to content

Commit

Permalink
feat: 文件在线预览支持更多的文件类型(前端) #2765
Browse files Browse the repository at this point in the history
  • Loading branch information
lannoy0523 committed Jan 20, 2025
1 parent 954deb8 commit 7b5c64e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/frontend/devops-repository/src/views/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
menuList () {
const routerName = this.$route.name
if (routerName === '440' || routerName === 'filePreview' || routerName === 'outsideFilePreview') this.routerStatus = false
if (routerName !== 'filePreview') window.resetWaterMark()
if (routerName !== 'filePreview' || routerName !== 'outsideFilePreview') window.resetWaterMark()
if (MODE_CONFIG === 'ci' || this.projectList.length) {
const showRepoScan = RELEASE_MODE !== 'community' || SHOW_ANALYST_MENU
return {
Expand Down

0 comments on commit 7b5c64e

Please sign in to comment.