|
@@ -74,8 +74,8 @@ export default {
|
|
|
},
|
|
},
|
|
|
handleClick () {
|
|
handleClick () {
|
|
|
debugger;
|
|
debugger;
|
|
|
- console.log(this.item.children[0].name)
|
|
|
|
|
- console.log(this.item.path);
|
|
|
|
|
|
|
+ console.log(this.item.children[0].name,"lalaalal")
|
|
|
|
|
+ console.log(this.item.path,"uububuybub");
|
|
|
// if(this.item.children[0].name == '/index'){
|
|
// if(this.item.children[0].name == '/index'){
|
|
|
// EventBus.$emit('on-click-higher', {children: '', basepath: ''})
|
|
// EventBus.$emit('on-click-higher', {children: '', basepath: ''})
|
|
|
// this.$router.push({ path: "/" });
|
|
// this.$router.push({ path: "/" });
|
|
@@ -84,6 +84,7 @@ export default {
|
|
|
// this.$router.push({ path: "/leaderCockpit" });
|
|
// this.$router.push({ path: "/leaderCockpit" });
|
|
|
// }else{
|
|
// }else{
|
|
|
if (this.higher) {
|
|
if (this.higher) {
|
|
|
|
|
+ console.log(this.higher,"jfvriuhfgvuerhf")
|
|
|
EventBus.$emit('on-click-higher', {children: this.item, basepath: ''})
|
|
EventBus.$emit('on-click-higher', {children: this.item, basepath: ''})
|
|
|
} else {
|
|
} else {
|
|
|
EventBus.$emit('on-click-higher', {children: this.item.children, basepath: this.resolvePath(this.item.path)})
|
|
EventBus.$emit('on-click-higher', {children: this.item.children, basepath: this.resolvePath(this.item.path)})
|