This commit is contained in:
Taric Xin
2022-01-06 16:17:48 +08:00
parent ad5236e676
commit 52c59e2d69
2 changed files with 3 additions and 2 deletions

View File

@ -18,7 +18,7 @@ export class OrderAgreementComponent implements OnInit {
ngOnInit() {
console.log({ type: this.type });
this.service.request(this.service.$api_get_agreement, { type: this.type }, 'POST', true, 'FORM').subscribe(res => {
this.service.request(this.service.$api_get_agreement, { type: this.type }).subscribe(res => {
if (res) {
this.agreementContent = res;
}