no message
Former-commit-id: 71b80b9ef4c9945e3e648a3ee8932d05db30d7f3 Former-commit-id: bc8f4d4a05862cd678edf9caf3fc1a7104b333da Former-commit-id: be0ace8e27b2c77e76dab235f7641f49bbf84ed5
This commit is contained in:
@@ -34,8 +34,10 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
$route (val) {
|
'$route.matched': {
|
||||||
console.log(val)
|
handler (val) {
|
||||||
|
console.log(val)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -104,9 +104,9 @@ const routes = [
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
||||||
routes[3].children.forEach(e => {
|
// routes[3].children.forEach(e => {
|
||||||
console.log(`{ path: \`\${pre}${e.path}\`, title: 'title' }`)
|
// console.log(`{ path: \`\${pre}${e.path}\`, title: 'title' }`)
|
||||||
})
|
// })
|
||||||
|
|
||||||
let router = new VueRouter({ routes })
|
let router = new VueRouter({ routes })
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user