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() }