diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue index 49bb9e7..087a987 100644 --- a/src/layout/components/Navbar.vue +++ b/src/layout/components/Navbar.vue @@ -123,7 +123,7 @@ export default { return } if ( - this.hasPermi(['role:pm', 'role:oa', 'role:admin', 'role:dev']) + this.hasPermi(['role:pm', 'role:oa', 'role:admin', 'role:dev', 'role:ga']) ) { history.replaceState(null, null, '/trials/trials-inspection') history.go(0) diff --git a/src/views/login/index.vue b/src/views/login/index.vue index 17ed6c7..8ece88e 100644 --- a/src/views/login/index.vue +++ b/src/views/login/index.vue @@ -418,7 +418,7 @@ export default { return } if ( - this.hasPermi(['role:pm', 'role:oa', 'role:admin', 'role:dev']) + this.hasPermi(['role:pm', 'role:oa', 'role:admin', 'role:dev', 'role:ga']) ) { history.replaceState(null, null, '/trials/trials-inspection') history.go(0) diff --git a/src/views/trials/trials-layout/components/trialsNavbar.vue b/src/views/trials/trials-layout/components/trialsNavbar.vue index 38dca1a..b62598d 100644 --- a/src/views/trials/trials-layout/components/trialsNavbar.vue +++ b/src/views/trials/trials-layout/components/trialsNavbar.vue @@ -176,7 +176,7 @@ export default { return } if ( - this.hasPermi(['role:pm', 'role:oa', 'role:admin', 'role:dev']) + this.hasPermi(['role:pm', 'role:oa', 'role:admin', 'role:dev', 'role:ga']) ) { history.replaceState(null, null, '/trials/trials-inspection') history.go(0)