@@ -75,10 +75,10 @@ var userModules = [{role:0, modules:["工时报告","专业审核","部门审核
// {role:6, modules:["工时报告","工时成本统计","财务核算成本","项目报表服务","费用报销","待办任务","项目管理",,"组织架构","请假管理"]},];
router.beforeEach((to, from, next) => {
NProgress.start();
- console.log('路由跳转判定',to,from,next);
+ // console.log('路由跳转判定',to,from,next);
if (to.path == '/') {
from.name ? next(from.path) : next('/login')
- console.log('走判定');
+ // console.log('走判定');
return
}
if (to.path == '/register') {