home sections labels link made active
This commit is contained in:
@ -149,7 +149,7 @@ export default {
|
||||
}
|
||||
} else {
|
||||
// find existing router route compared with link href
|
||||
let pathbase = target.pathname.match(/^(\/\w{2}\/[^\/]+)\/.*/i)
|
||||
let pathbase = target.pathname.match(/^(\/\w{2}\/[^\/]+)\/?.*/i)
|
||||
console.log('pathbase', pathbase)
|
||||
|
||||
for (let i = 0; i < this.$router.options.routes.length; i++) {
|
||||
@ -175,8 +175,9 @@ export default {
|
||||
}
|
||||
}
|
||||
},
|
||||
onClickFieldLabel(e){
|
||||
console.log("onClickFieldLabel", e, this.$router, this.$route)
|
||||
onClickFieldLabel(e, part){
|
||||
console.log("onClickFieldLabel", part, e, this.$router, this.$route)
|
||||
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
|
Reference in New Issue
Block a user