mirror of
https://gitee.com/lab1024/smart-admin.git
synced 2025-11-17 08:03:49 +08:00
添加面包屑以及其它
This commit is contained in:
7
rc-busness/middleware/metaTitle.js
Normal file
7
rc-busness/middleware/metaTitle.js
Normal 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 || '';//设置重定向
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user