Skip to content

Commit e692876

Browse files
committed
docs: add tips
1 parent 6dacb78 commit e692876

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/permission.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ router.beforeEach(async(to, from, next) => {
2424
if (to.path === '/login') {
2525
// if is logged in, redirect to the home page
2626
next({ path: '/' })
27-
NProgress.done()
27+
NProgress.done() // hack: https://github.com/PanJiaChen/vue-element-admin/pull/2939
2828
} else {
2929
// determine whether the user has obtained his permission roles through getInfo
3030
const hasRoles = store.getters.roles && store.getters.roles.length > 0

0 commit comments

Comments
 (0)