no message

Former-commit-id: fecd15de69d56381101476f4661390022320797b [formerly fecd15de69d56381101476f4661390022320797b [formerly fecd15de69d56381101476f4661390022320797b [formerly fecd15de69d56381101476f4661390022320797b [formerly ef319f6d08860c3e1496d77bf196a26e26834e1b [formerly 2b63a8f4aadb093749af078c0f0585894a4a8905]]]]]
Former-commit-id: 7ac89b5fbc75e657572856a53f7ec44f690051af
Former-commit-id: f2c7e3a59fed3ff686ec8570af3f487c4e69dd3a
Former-commit-id: 27b28805c5f32ffd40c825cf8afa9944b41367a3 [formerly 454932a2cac3059d4794516613533670d8a11de4]
Former-commit-id: 5e825ae2b734cd4e098a9614ac4ac307e43eedbd
Former-commit-id: 5aff1e6b7cfb8de0c38759f699418b73ea726b2e
Former-commit-id: 707a7a3cb50856c8eb6216664970c3d1e0b720b7
Former-commit-id: d4db2890074f6a3df7c580644413b0f6ca472750
Former-commit-id: 434daeea46dc29638a4f60e07974adc28be86cff
This commit is contained in:
liyang
2018-06-30 16:45:06 +08:00
parent ef56828ccf
commit 6ec19d0994
3 changed files with 52 additions and 18 deletions

View File

@@ -92,19 +92,18 @@ new Vue({
* 处理路由 得到每一级的路由设置
*/
getAllTagFromRoutes () {
console.log('routes', frameInRoutes)
const tags = []
const tagPool = []
const push = function (routes) {
routes.forEach(route => {
if (route.children) {
push(route.children)
} else {
tags.push(route)
tagPool.push(route)
}
})
}
push(frameInRoutes)
console.log('tags', tags)
this.$store.commit('d2admintagPoolSet', tagPool)
}
}
})