From 36bfdc3bb73949e2b584d81b6bf88c0610325d67 Mon Sep 17 00:00:00 2001 From: toesbieya <1647775459@qq.com> Date: Wed, 26 Feb 2020 13:51:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BE=A7=E8=BE=B9=E6=A0=8F=E9=87=8D=E5=A4=8D?= =?UTF-8?q?=E7=82=B9=E5=87=BB=E6=97=B6=E5=88=B7=E6=96=B0=E8=B7=AF=E7=94=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vue/src/layout/components/Sidebar/index.vue | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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() {