From d4d46eeaae9fe29d7e2e7848e614a35c7f2e44c3 Mon Sep 17 00:00:00 2001 From: iczer <1126263215@qq.com> Date: Thu, 18 Jun 2020 16:06:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D:=20=E7=82=B9=E5=87=BB?= =?UTF-8?q?=E8=8F=9C=E5=8D=95=E6=A0=8F=E6=97=B6=E6=8E=A7=E5=88=B6=E5=8F=B0?= =?UTF-8?q?=E6=8A=A5=E8=B7=AF=E7=94=B1=E9=87=8D=E5=A4=8D=E5=AF=BC=E8=88=AA?= =?UTF-8?q?=E8=AD=A6=E5=91=8Abug=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layouts/MenuView.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/layouts/MenuView.vue b/src/layouts/MenuView.vue index 2da8804..d71e524 100644 --- a/src/layouts/MenuView.vue +++ b/src/layouts/MenuView.vue @@ -64,8 +64,8 @@ export default { this.pageList.push(newRoute) } }, - 'activePage': function (key) { - this.$router.push(key) + 'activePage': function () { + // this.$router.push(key) }, 'multiPage': function (newVal) { if (!newVal) { @@ -76,6 +76,7 @@ export default { }, methods: { changePage (key) { + this.$router.push(key) this.activePage = key }, editPage (key, action) {