From ab8a9154ec20920d1ecc80fe70539888916e5c25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A6=BE=E5=87=A0=E6=B5=B7?= Date: Fri, 28 Aug 2020 22:32:01 +0800 Subject: [PATCH] remove console.log() --- src/app/view/admin/admin.component.ts | 2 -- .../admin/components/common-table/common-table.component.ts | 2 -- 2 files changed, 4 deletions(-) diff --git a/src/app/view/admin/admin.component.ts b/src/app/view/admin/admin.component.ts index 6f7ac84..fbff0f6 100644 --- a/src/app/view/admin/admin.component.ts +++ b/src/app/view/admin/admin.component.ts @@ -22,7 +22,6 @@ export class AdminComponent implements OnInit { complete: () => null, error: (err) => null, next: data => { - console.log('更新user') this.user = data.result if (data.result) this.initHelloWords() } @@ -68,7 +67,6 @@ export class AdminComponent implements OnInit { checkSamePwd = () => { return (control: AbstractControl): { [key: string]: any } | null => { - console.log('a') const newPwd = this.resetPwdFormGroup && this.resetPwdFormGroup.value.newPwd; return control.value !== newPwd ? {pwdNotSame: true} : null; }; diff --git a/src/app/view/admin/components/common-table/common-table.component.ts b/src/app/view/admin/components/common-table/common-table.component.ts index c13d8b1..8f9dd9c 100644 --- a/src/app/view/admin/components/common-table/common-table.component.ts +++ b/src/app/view/admin/components/common-table/common-table.component.ts @@ -39,7 +39,6 @@ export class CommonTableComponent implements OnInit, OnChanges { this.changed = true; } else { this.filedData = this.cloneData(this.headData) - console.log(this.filedData) } this.calculateVisibleFieldLength(); @@ -76,7 +75,6 @@ export class CommonTableComponent implements OnInit, OnChanges { ngOnChanges(changes: SimpleChanges): void { if (changes.request && !changes.request.isFirstChange()) { - console.log(changes.request) this.request = changes.request.currentValue; this.getData().unsubscribe(); this.getData();