Commit ea8e8cea authored by 张伯涛's avatar 张伯涛

去掉没用的日志

parent d574af07
......@@ -83,9 +83,6 @@ export default {
}
},
hasOneShowingChild(children = [], parent) {
console.log('看看看看看看看看看看看看看看看', parent.path)
console.log('children', children)
console.log('parent', parent)
const showingChildren = children.filter(item => {
if (item.hidden) {
return false
......@@ -97,7 +94,6 @@ export default {
})
// When there is only one child router, the child router is displayed by default
console.log('showingChildren', showingChildren)
if (showingChildren.length === 1) {
if (showingChildren[0].path === '/Home') {
return true
......
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