Skip to content

Commit

Permalink
perf: update SidebarItem
Browse files Browse the repository at this point in the history
  • Loading branch information
pengzhanbo committed Dec 23, 2023
1 parent ebbca3d commit e0870e0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions theme/src/client/components/SidebarItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@ function onCaretClick() {
<!-- eslint-disable-next-line vue/no-v-html -->
<Component :is="textTag" class="text" v-html="item.text" />
</AutoLink>
<!-- eslint-disable vue/no-v-text-v-html-on-component -->
<!-- eslint-disable-next-line vue/no-v-html -->
<Component :is="textTag" v-else class="text" v-html="item.text" />

<div
v-if="item.collapsed != null"
Expand Down

0 comments on commit e0870e0

Please sign in to comment.