style: eslint of naming-convention
This commit is contained in:
@@ -71,6 +71,7 @@ export class AdminComponent implements OnInit {
|
||||
const newPwd = this.resetPwdFormGroup && this.resetPwdFormGroup.value.newPwd;
|
||||
return control.value !== newPwd ? {pwdNotSame: true} : null;
|
||||
};
|
||||
// eslint-disable-next-line @typescript-eslint/naming-convention
|
||||
uploadHeader = (file: NzUploadFile): any | Observable<{}> => ({Authorization: this.localStorageService.getToken()});
|
||||
|
||||
showEditInfoModal() {
|
||||
|
||||
@@ -243,6 +243,7 @@ export class WriteComponent implements OnInit, OnDestroy {
|
||||
.forEach(value => result.data.errFiles.push(value.originalFilename));
|
||||
return JSON.stringify(result);
|
||||
},
|
||||
// eslint-disable-next-line @typescript-eslint/naming-convention
|
||||
setHeaders: () => ({Authorization: this.localStorageService.getToken()})
|
||||
},
|
||||
after: () => {
|
||||
|
||||
Reference in New Issue
Block a user