style: eslint fix
This commit is contained in:
@@ -55,7 +55,7 @@ export class LinkComponent implements OnInit {
|
||||
this.applyFormGroup.patchValue({linkUrl: linkUrlData.replace(this.lastUrl, data)});
|
||||
this.lastUrl = data;
|
||||
},
|
||||
})
|
||||
});
|
||||
}
|
||||
|
||||
apply() {
|
||||
@@ -69,7 +69,7 @@ export class LinkComponent implements OnInit {
|
||||
this.message.success('提交成功,请稍等,即将为你处理');
|
||||
this.loading = false;
|
||||
this.showModal = false;
|
||||
this.applyFormGroup.reset()
|
||||
this.applyFormGroup.reset();
|
||||
},
|
||||
error: err => {
|
||||
if (err.code === 7200) {
|
||||
@@ -82,7 +82,7 @@ export class LinkComponent implements OnInit {
|
||||
this.apiService.reapplyLink(key).subscribe({
|
||||
next: data1 => this.message.success('提交成功,请稍等,即将为你处理'),
|
||||
error: err1 => this.message.error('提交失败,原因:' + err.msg)
|
||||
})
|
||||
});
|
||||
}
|
||||
});
|
||||
} else {
|
||||
@@ -90,7 +90,7 @@ export class LinkComponent implements OnInit {
|
||||
}
|
||||
this.loading = false;
|
||||
this.showModal = false;
|
||||
this.applyFormGroup.reset()
|
||||
this.applyFormGroup.reset();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user