From f8fffcea1bbbac2d1d06f4e17cf1fb60f8b7dc6c Mon Sep 17 00:00:00 2001 From: YunaiV Date: Sun, 20 Mar 2022 23:20:00 +0800 Subject: [PATCH] 修复 Breadcrumb dump key 的问题 --- yudao-ui-admin/src/components/Breadcrumb/index.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/yudao-ui-admin/src/components/Breadcrumb/index.vue b/yudao-ui-admin/src/components/Breadcrumb/index.vue index 1fbae5f..85cde81 100644 --- a/yudao-ui-admin/src/components/Breadcrumb/index.vue +++ b/yudao-ui-admin/src/components/Breadcrumb/index.vue @@ -45,7 +45,8 @@ export default { if (!name) { return false } - return name.trim() === 'Index' + // return name.trim() === 'Index' + return name.trim() === '首页' // 修复 Index 重复的问题 }, handleLink(item) { const { redirect, path } = item -- libgit2 0.21.4