clay fix : 关闭一系列bug

This commit is contained in:
clay
2022-10-04 20:01:16 +08:00
parent 65e7a1ad86
commit 324f0dc26a
4 changed files with 65 additions and 32 deletions

View File

@@ -110,6 +110,7 @@ export default {
this.getContext(arcId)
} else {
this.menuData = getParentNode(this.navId)
console.log(this.menuData,"menuData")
this.getContent(this.menuData.three)
}
}
@@ -125,6 +126,7 @@ export default {
},
methods: {
init(){
console.log(this.navId)
this.menuData = getParentNode(this.navId)
crumbs(this.secondId).then(res => {
this.crumbs = res.data
@@ -148,6 +150,7 @@ export default {
if (arcId != undefined) {
this.getContext(arcId)
} else {
console.log(this.menuData,"menuData")
this.getContent(this.menuData.three)
}
},
@@ -161,7 +164,7 @@ export default {
},
getContent(menu) {
console.log(menu)
//let menu = this.menuData.three
// let menu = this.menuData.three
this.type = menu.type
this.contextData = null
this.bgImage = menu.link