1
0

2 Коммиты b2e58beb0e ... 86810a9934

Автор SHA1 Сообщение Дата
  warrior 86810a9934 Merge branch 'master' of http://git.fmode.cn:3000/bin/edu-textbook 4 дней назад
  warrior c99e161cfe 修复可能出现的登录跳转问题 4 дней назад
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      projects/textbook/src/app/comp-manage/comp-manage.component.ts

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