diff --git a/vue/src/layout/components/Sidebar/index.vue b/vue/src/layout/components/Sidebar/index.vue index fb341bb..9bebfb8 100644 --- a/vue/src/layout/components/Sidebar/index.vue +++ b/vue/src/layout/components/Sidebar/index.vue @@ -16,8 +16,8 @@ :default-active="$route.path" :text-color="variables.menuText" :unique-opened="sidebarUniqueOpen" - router mode="vertical" + @select="select" > this.$router.replace({path: '/redirect' + this.$route.fullPath})) + } + else this.$router.push(index) } }, mounted() {