Commit 22018f3b authored by 黄自鹏's avatar 黄自鹏

Merge branch 'master' of gitlab.gavelinfo.com:lisu/sgaqgl-vue

parents 5187faac 5d44ec17
......@@ -118,11 +118,15 @@ export default {
if (router.meta && router.meta.title) {
data.title = [...data.title, router.meta.title]
if (router.redirect !== 'noRedirect') {
// only push the routes with title
// special case: need to exclude parent router without redirect
// if (router.redirect !== 'noRedirect') {
// res.push(data)
// }
if (!router.redirect) {
res.push(data)
}
//
}
// recursive child routes
......
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