diff --git a/doc/menubar/RouterDoc.vue b/doc/menubar/RouterDoc.vue index 003fb5457..cbe07429c 100644 --- a/doc/menubar/RouterDoc.vue +++ b/doc/menubar/RouterDoc.vue @@ -7,7 +7,7 @@
- diff --git a/doc/tabmenu/RouterDoc.vue b/doc/tabmenu/RouterDoc.vue index 80adfc59f..eadcb3aa8 100644 --- a/doc/tabmenu/RouterDoc.vue +++ b/doc/tabmenu/RouterDoc.vue @@ -5,7 +5,7 @@ NuxtLink or router-link. Here is an example with vue-router.

-
+ @@ -280,14 +280,14 @@ export default { ] } }; - }, - watch: { - $route() { - this.active = this.items.findIndex((item) => this.$route.path === this.$router.resolve(item.route).path); - } - }, - mounted() { - this.active = this.items.findIndex((item) => this.$route.path === this.$router.resolve(item.route).path); } + // watch: { + // $route() { + // this.active = this.items.findIndex((item) => this.$route.path === this.$router.resolve(item.route).path); + // } + // }, + // mounted() { + // this.active = this.items.findIndex((item) => this.$route.path === this.$router.resolve(item.route).path); + // } };