home sections labels link made active

This commit is contained in:
2021-06-10 19:45:30 +02:00
parent 27ece7a12c
commit 81eb01d101
12 changed files with 54 additions and 16 deletions

View File

@ -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: {