添加面包屑以及其它

This commit is contained in:
952108534@qq.com
2022-01-10 22:01:29 +08:00
parent 069d6d2531
commit be96454365
9 changed files with 528 additions and 36 deletions

View File

@@ -0,0 +1,7 @@
export default ({store, route, redirect}) => {
route.matched.forEach((item, index) => {
item.meta.title = route.meta[index].title || '';
item.meta.redirect = route.meta[index].redirect || '';//设置重定向
})
}