添加中间件

This commit is contained in:
952108534@qq.com
2022-01-10 11:09:10 +08:00
parent f1b7b7c501
commit 8d00674559
6 changed files with 56 additions and 528 deletions

View File

@@ -0,0 +1,6 @@
export default ({store, route, redirect}) => {
route.matched.forEach((item, index) => {
item.meta.title = route.meta[index].title || '';
})
}