remove console.log()
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
@@ -39,7 +39,6 @@ export class CommonTableComponent<T> 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<T> 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();
|
||||
|
||||
Reference in New Issue
Block a user