hid_msrpuwgj56ccf29 9 月之前
父节点
当前提交
fc67e174bf
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      app-angular/src/modules/lesson/user-relationship/user-relationship.component.ts

+ 3 - 1
app-angular/src/modules/lesson/user-relationship/user-relationship.component.ts

@@ -1,5 +1,5 @@
 import { Component } from '@angular/core';
-
+import { Router } from '@angular/router'; 
 @Component({
   selector: 'app-user-relationship',
   templateUrl: './user-relationship.component.html',
@@ -10,6 +10,7 @@ export class UserRelationshipComponent {
 
   constructor() {
     this.previousUrl = window.location.href;
+    
   }
 
   redirectToExternalLink() {
@@ -18,5 +19,6 @@ export class UserRelationshipComponent {
 
   goBack() {
     window.history.back();
+    
   }
 }