Skip to content

Commit e1c1530

Browse files
HouLiXieBuRouMingcongBai
authored andcommitted
fix: 修复同一页面下的导航链接不可用
1 parent 29d7550 commit e1c1530

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/AccordionNavigation.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const props = defineProps({
2222
:key="item.title"
2323
class="inline-block">
2424
<AppLink
25-
v-if="item.path || item.url"
25+
v-if="item.path || item.url || item.hash"
2626
:to="item.url ? item.url : { path: item.path, hash: item.hash }"
2727
:class="linkClass">
2828
{{ item.title }}</AppLink

0 commit comments

Comments
 (0)