1
0

2 Commitit b2e58beb0e ... 86810a9934

Tekijä SHA1 Viesti Päivämäärä
  warrior 86810a9934 Merge branch 'master' of http://git.fmode.cn:3000/bin/edu-textbook 4 päivää sitten
  warrior c99e161cfe 修复可能出现的登录跳转问题 4 päivää sitten

+ 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: '本社教材源文件',