How to realize form single selection and multiple selection deletion by Angular6

background api is deleted through id, but it is stuck here. I don"t know how to judge whether it is selected or not.
clipboard.png

clipboard.png


check a field of control binding data such as selected , and control binding such as [(ngModel)] = "xxx.selected"

filter the selected id array before deleting

xxxList.filter((item) => item.selected == true).map((item) => item.id)
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-1bf66bb-31fee.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-1bf66bb-31fee.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?