Skip to content

Commit 951b38a

Browse files
committed
修复 Breadcrumb dump key 的问题
1 parent 3cbb696 commit 951b38a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/components/Breadcrumb/index.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ export default {
4545
if (!name) {
4646
return false
4747
}
48-
return name.trim() === 'Index'
48+
// return name.trim() === 'Index'
49+
return name.trim() === '首页' // 修复 Index 重复的问题
4950
},
5051
handleLink(item) {
5152
const { redirect, path } = item

0 commit comments

Comments
 (0)