clay commit : 第一阶段完成
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user