Commit ddf10253 authored by guxukai's avatar guxukai

chore: 面包屑

parent fded4914
...@@ -164,6 +164,8 @@ onBeforeRouteUpdate((to, from) => { ...@@ -164,6 +164,8 @@ onBeforeRouteUpdate((to, from) => {
if (to.meta.level === val.level) { if (to.meta.level === val.level) {
val.title = to.meta.title! val.title = to.meta.title!
val.path = to.path val.path = to.path
val.name = to.name as string
val.level = to.meta.level
} }
return val return val
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment