clay commit : 第一阶段完成

This commit is contained in:
clay
2022-09-26 18:14:33 +08:00
parent 62ba7e59c8
commit 1eb9631127
2 changed files with 10 additions and 3 deletions

View File

@@ -363,10 +363,17 @@ export default {
} else if (this.type == 1) {
this.contextData = res.data
} else if (this.type == 3) {
this.contextData = handleTree(res.data, "id", "pid", null, null)
console.log(this.contextData,"this.contextData")
}
})
},
/**
* 菜单点击,路由切换
* @param nav