Commit 7ac39e9c by liimin

1

1 parent 01557420
......@@ -18,8 +18,7 @@ export default {
data() {
return {
activeName: '',
nav4: [],
id: ''
nav4: []
}
},
watch: {
......@@ -45,7 +44,6 @@ export default {
if (nav4.length) {
const sub = nav4.find(({ id }) => id == activeId)
if (sub) {
if (this.activeName == sub.path) return
this.$nextTick(() => {
console.log(sub.path)
this.$router.push(sub.path)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!