Skip to content

Commit

Permalink
feat: 文件在线预览支持更多的文件类型(前端) #2765
Browse files Browse the repository at this point in the history
  • Loading branch information
lannoy0523 committed Feb 25, 2025
1 parent af6579b commit 21cd504
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@
...res.configuration.settings,
repoType: res.type.toLowerCase()
}
if (res.configuration.settings.autoIndex && res.configuration.settings.autoIndex.enabled) {
if (res.configuration.settings.autoIndex && res.configuration.settings.autoIndex.enabled !== undefined) {
this.repoBaseInfo.autoIndex = res.configuration.settings.autoIndex.enabled
} else {
this.repoBaseInfo.autoIndex = true
Expand Down

0 comments on commit 21cd504

Please sign in to comment.