remove console.log()
This commit is contained in:
@@ -22,7 +22,6 @@ export class AdminComponent implements OnInit {
|
|||||||
complete: () => null,
|
complete: () => null,
|
||||||
error: (err) => null,
|
error: (err) => null,
|
||||||
next: data => {
|
next: data => {
|
||||||
console.log('更新user')
|
|
||||||
this.user = data.result
|
this.user = data.result
|
||||||
if (data.result) this.initHelloWords()
|
if (data.result) this.initHelloWords()
|
||||||
}
|
}
|
||||||
@@ -68,7 +67,6 @@ export class AdminComponent implements OnInit {
|
|||||||
|
|
||||||
checkSamePwd = () => {
|
checkSamePwd = () => {
|
||||||
return (control: AbstractControl): { [key: string]: any } | null => {
|
return (control: AbstractControl): { [key: string]: any } | null => {
|
||||||
console.log('a')
|
|
||||||
const newPwd = this.resetPwdFormGroup && this.resetPwdFormGroup.value.newPwd;
|
const newPwd = this.resetPwdFormGroup && this.resetPwdFormGroup.value.newPwd;
|
||||||
return control.value !== newPwd ? {pwdNotSame: true} : null;
|
return control.value !== newPwd ? {pwdNotSame: true} : null;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -39,7 +39,6 @@ export class CommonTableComponent<T> implements OnInit, OnChanges {
|
|||||||
this.changed = true;
|
this.changed = true;
|
||||||
} else {
|
} else {
|
||||||
this.filedData = this.cloneData(this.headData)
|
this.filedData = this.cloneData(this.headData)
|
||||||
console.log(this.filedData)
|
|
||||||
}
|
}
|
||||||
this.calculateVisibleFieldLength();
|
this.calculateVisibleFieldLength();
|
||||||
|
|
||||||
@@ -76,7 +75,6 @@ export class CommonTableComponent<T> implements OnInit, OnChanges {
|
|||||||
|
|
||||||
ngOnChanges(changes: SimpleChanges): void {
|
ngOnChanges(changes: SimpleChanges): void {
|
||||||
if (changes.request && !changes.request.isFirstChange()) {
|
if (changes.request && !changes.request.isFirstChange()) {
|
||||||
console.log(changes.request)
|
|
||||||
this.request = changes.request.currentValue;
|
this.request = changes.request.currentValue;
|
||||||
this.getData().unsubscribe();
|
this.getData().unsubscribe();
|
||||||
this.getData();
|
this.getData();
|
||||||
|
|||||||
Reference in New Issue
Block a user