Skip to content

Commit

Permalink
fixed bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
zhouhero committed Oct 1, 2017
1 parent 1346bba commit 132dba3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/login.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ router.beforeEach((to, from, next) => {
})
})
} else {
// 没有动态改变权限的需求可直接next() 删除下方权限判断 ↓
// () 删除下方权限判断 ↓
store.dispatch('getNowRoutes', to);

if (hasPermission(store.getters.roles, to.meta.role)) {
Expand Down

0 comments on commit 132dba3

Please sign in to comment.