Commit e24b6c7d by 匡雅琴

面包屑

1 parent 73b06c36
...@@ -102,7 +102,7 @@ export default { ...@@ -102,7 +102,7 @@ export default {
// 选中时触发 // 选中时触发
selectChange(val) { selectChange(val) {
console.log(val) console.log(val)
this.$set(this.selectLevel, val.level - 1, val) this.$set(this.selectLevel, val.depth - 1, val)
// this.lastLevel = false // this.lastLevel = false
val.childrenNum ? (this.lastLevel = true) : (this.lastLevel = false) val.childrenNum ? (this.lastLevel = true) : (this.lastLevel = false)
// this.lastLevel = val.hasChildren // this.lastLevel = val.hasChildren
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!