소스 검색

增加权限

wulanhaote
liuminjian 4 년 전
부모
커밋
18437b6ad1
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. +3
    -1
      src/permission.js

+ 3
- 1
src/permission.js 파일 보기

@@ -27,6 +27,8 @@ const whiteList = [
'/policyDetail',
'/attestationDetail',
'/noticeDetail',
'/homestead/index',


]

@@ -67,7 +69,7 @@ router.beforeEach((to, from, next) => {
next()
} else {
next(`/login?redirect=${to.fullPath}`) // 否则全部重定向到登录页
//next('/index');
//next('/index');
NProgress.done()
}
}


불러오는 중...
취소
저장