diff --git a/src/app/navigation/navigation.component.ts b/src/app/navigation/navigation.component.ts
index 3eae51b..a64b2b7 100644
--- a/src/app/navigation/navigation.component.ts
+++ b/src/app/navigation/navigation.component.ts
@@ -19,6 +19,7 @@ import { Router, ActivatedRoute } from "@angular/router";
 export class NavigationComponent implements OnInit {
   constructor(
     private router: Router,
+    private route: ActivatedRoute,
     public emitService: ComponentServiceService,
     public navmenus: CacheTokenService,
     private http: HttpClient,
@@ -28,7 +29,23 @@ export class NavigationComponent implements OnInit {
   ) {}
 
   roleType = sessionStorage.getItem("roleType");
-  ngOnInit() {}
+  ngOnInit() {
+    console.log(1, this.router);
+    if (this.router.url.indexOf("createexam-index") !== -1) {
+      this.selectedNav = "创建考试";
+    }
+    if (this.router.url.indexOf("mark-papers-index") !== -1) {
+      this.selectedNav = "阅卷";
+    }
+    if (this.router.url.indexOf("statistic") !== -1) {
+      this.selectedNav = "统计分析";
+      if (this.router.url.indexOf("examinee") !== -1) {
+        this.selectedNav2 = "考试统计";
+      }else{
+        this.selectedNav2 = "能力分析";
+      }
+    }
+  }
 
   selectedNav;
   selectedNav2;