Commit f8fffcea1bbbac2d1d06f4e17cf1fb60f8b7dc6c
1 parent
1a2c03bc
修复 Breadcrumb dump key 的问题
Showing
1 changed file
with
2 additions
and
1 deletions
yudao-ui-admin/src/components/Breadcrumb/index.vue
| @@ -45,7 +45,8 @@ export default { | @@ -45,7 +45,8 @@ export default { | ||
| 45 | if (!name) { | 45 | if (!name) { |
| 46 | return false | 46 | return false |
| 47 | } | 47 | } |
| 48 | - return name.trim() === 'Index' | 48 | + // return name.trim() === 'Index' |
| 49 | + return name.trim() === '首页' // 修复 Index 重复的问题 | ||
| 49 | }, | 50 | }, |
| 50 | handleLink(item) { | 51 | handleLink(item) { |
| 51 | const { redirect, path } = item | 52 | const { redirect, path } = item |