Commit 39efd99f authored by 远方不远's avatar 远方不远

hy

parent f0f0904b
...@@ -118,8 +118,7 @@ export default { ...@@ -118,8 +118,7 @@ export default {
let tempPath = '' let tempPath = ''
if (onlyOneChild.path) { if (onlyOneChild.path) {
tempPath = this.resolvePath(onlyOneChild.path) tempPath = this.resolvePath(onlyOneChild.path)
console.log(tempPath);
console.log(this.activeMenu);
if (this.activeMenu === tempPath&&onlyOneChild.meta.icon!='#') { if (this.activeMenu === tempPath&&onlyOneChild.meta.icon!='#') {
icon = onlyOneChild.meta.icon+'s' icon = onlyOneChild.meta.icon+'s'
} }
...@@ -138,7 +137,7 @@ export default { ...@@ -138,7 +137,7 @@ export default {
icon = item.meta.icon+'s' icon = item.meta.icon+'s'
} }
} }
console.log(icon);
return icon return icon
} }
} }
......
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