2 Achegas b2e58beb0e ... 86810a9934

Autor SHA1 Mensaxe Data
  warrior 86810a9934 Merge branch 'master' of http://git.fmode.cn:3000/bin/edu-textbook hai 1 mes
  warrior c99e161cfe 修复可能出现的登录跳转问题 hai 1 mes

+ 2 - 2
projects/textbook/src/app/comp-manage/comp-manage.component.ts

@@ -164,7 +164,7 @@ export class CompManageComponent implements OnInit {
   constructor(
     public router: Router,
     public tbookSer: textbookServer,
-    public textbook: textbookServer,
+    // public textbook: textbookServer,
     iconRegistry: MatIconRegistry,
     sanitizer: DomSanitizer,
     private http: HttpClient
@@ -176,7 +176,7 @@ export class CompManageComponent implements OnInit {
   }
 
   ngOnInit() {
-    console.log(this.tbookSer.profile.identity);
+    console.log(this.tbookSer?.profile);
     if (this.tbookSer.profile.identity == '工作联系人' && this.tbookSer.profile.user?.department?.branch == '出版单位') {
       this.optionsMap['工作联系人'][0].child.push({
         name: '本社教材源文件',