Skip to content

Commit 4fa3db2

Browse files
authored
Revert "fix: 修复面包屑状态异常 (#838)"
This reverts commit 98947d8.
1 parent 98947d8 commit 4fa3db2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/layouts/components/Breadcrumb.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,10 @@ import { useLocale } from '@/locales/useLocale';
1414
import { RouteMeta } from '@/types/interface';
1515
1616
const { locale } = useLocale();
17-
const route = useRoute();
1817
1918
const crumbs = computed(() => {
19+
const route = useRoute();
20+
2021
const pathArray = route.path.split('/');
2122
pathArray.shift();
2223

0 commit comments

Comments
 (0)