增加了两套演示空白页面

Former-commit-id: 8e223ee236a3b795298a7223c7c1b8577b48dce3
This commit is contained in:
liyang
2018-07-08 16:14:46 +08:00
parent a83bfc3183
commit 3d4393dc38
22 changed files with 143 additions and 7 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ router.beforeEach((to, from, next) => {
// 验证当前路由所有的匹配中是否需要有登陆验证的
if (to.matched.some(r => r.meta.requiresAuth)) {
// 这里暂时将cookie里是否存有token作为验证是否登陆的条件
// 请根据自身业务需要修改
// 请根据自身功能需要修改
if (Cookies.get('token')) {
next();
} else {