diff --git a/src/views/login/index.vue b/src/views/login/index.vue index 9b0783c..686ba0d 100644 --- a/src/views/login/index.vue +++ b/src/views/login/index.vue @@ -284,7 +284,9 @@ export default { this.$router.replace({ path: res[0].path }); return; } - if (this.hasPermi(["role:pm",'role:oa','role:admin'])) { + if ( + this.hasPermi(["role:pm", "role:oa", "role:admin", "role:dev"]) + ) { this.$router.replace({ path: "/trials/trials-inspection" }); } else if (this.hasPermi(["role:oa"])) { this.$router.replace({ path: "/system" }); diff --git a/src/views/system/role/index.vue b/src/views/system/role/index.vue index af573cc..95f81c9 100644 --- a/src/views/system/role/index.vue +++ b/src/views/system/role/index.vue @@ -42,7 +42,7 @@ - +