From 072608215b15d585f413944281fa77dd2b419a48 Mon Sep 17 00:00:00 2001 From: pixel <303176530@qq.com> Date: Tue, 29 Oct 2019 11:13:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=AC=AC=E4=B8=80=E6=AC=A1?= =?UTF-8?q?=E8=B7=B3=E8=BD=AC=E7=99=BD=E5=B1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- QMPlusVuePage/src/permission.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/QMPlusVuePage/src/permission.js b/QMPlusVuePage/src/permission.js index 27bc8e21..4e387411 100644 --- a/QMPlusVuePage/src/permission.js +++ b/QMPlusVuePage/src/permission.js @@ -18,7 +18,7 @@ router.beforeEach(async(to, from, next) => { // 在白名单中的判断情况 if (whiteList.indexOf(to.name) > -1) { if (token) { - next({ name: 'dashbord' }) + next({ path: '/layout/dashbord' }) } else { next() }