|
@@ -149,7 +149,7 @@ export default {
|
|
}
|
|
}
|
|
} else {
|
|
} else {
|
|
// find existing router route compared with link href
|
|
// 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)
|
|
console.log('pathbase', pathbase)
|
|
|
|
|
|
for (let i = 0; i < this.$router.options.routes.length; i++) {
|
|
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: {
|
|
watch: {
|