Commit 4ea78c2f by liimin

1

1 parent f007c78c
......@@ -57,11 +57,9 @@ export default {
const { lv1, lv2, lv3, lv4 } = this.current
const lv3id = `${lv1}-${lv2}-${lv3}`
const lv4id = `${lv3id}-${lv4}`
const sub = this.find(lv3id)?.children
if (sub?.length) {
const nav4 = sub.noHidden()
this.setActive(lv4id, nav4)
}
const sub = this.find(lv3id)?.children || []
const nav4 = sub.noHidden()
this.setActive(lv4id, nav4)
}
}
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!