Angular ng-alain delon class library, curd component, modal receive values

as mentioned above, in the ng-alain template, use the delon class library to create a curd component. In the curd component, click the edit button to pass the value to the edit sub-component. Excuse me, how should this parameter pass through?
main component code snippet:

columns: STColumn[] = [
    { title: "", index: "no" },
    { title: "", type: "number", index: "callNo" },
    { title: "", type: "img", width: "50px", index: "avatar" },
    { title: "", type: "date", index: "updatedAt" },
    {
    title: "",
    buttons: [
    {
        text: "",
        type: "modal",
        modal: {
        component: TestCurdEditComponent,
        params: (record: any) => (record = record),
        },
    },
    ],
    },
    ];

modal component code snippet:

@Input()
record: any = {};
i: any;

constructor(
private modal: NzModalRef,
private msgSrv: NzMessageService,
public http: _HttpClient,
) {}

ngOnInit(): void {
console.log(this.record);****//this.record = null, recordrecord****
if (this.record.id > 0)
this.http.get(/user/${this.record.id}).subscribe(res => (this.i = res));
}

beginners to learn angular, please help to see how sub-components can get the value of record. Thank you.

Jan.24,2022
The parameter

paramName is not written.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1ea78b5-1e62.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1ea78b5-1e62.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?