This commit is contained in:
Taric Xin
2022-02-18 10:36:20 +08:00
parent 7a24657bc1
commit 430574fd72
2 changed files with 1 additions and 2 deletions

View File

@ -46,7 +46,7 @@ export class AgreementConfigComponentsBaseComponent implements OnInit {
}
loadAgreement(type?: number) {
this.service.request(`${this.service.$api_get_agreement_page}`).subscribe(res => {
this.service.request(`${this.service.$api_get_agreement_page}`, { pageIndex: 1, pageSize: 99 }).subscribe(res => {
if (res) {
res.records = res.records.map((item: any) => ({ ...item, agreementContent: decodeURIComponent(item.agreementContent) }));
this.tabs = res.records;