提出api中的model到单独model分组 修改dashboard 拼写错误

This commit is contained in:
QM303176530
2020-04-07 22:26:00 +08:00
parent 137db98ee4
commit 2c35adaffc
16 changed files with 106 additions and 85 deletions

View File

@@ -18,7 +18,7 @@ router.beforeEach(async(to, from, next) => {
// 在白名单中的判断情况
if (whiteList.indexOf(to.name) > -1) {
if (token) {
next({ path: '/layout/dashbord' })
next({ path: '/layout/dashboard' })
} else {
next()
}