This commit is contained in:
Taric Xin
2022-01-14 09:37:21 +08:00
parent 35c3135e52
commit 7659770852
8 changed files with 75 additions and 19 deletions

View File

@ -99,8 +99,7 @@ export class DownloadComponentsListComponent implements OnInit {
width: '170px',
className: 'text-center',
buttons: [
{ text: '下载', click: (_record) => this.download(_record), iif: (item) => item.status === 1 },
{ text: '删除', click: (_record) => this.delOne(_record), iif: (item) => item.status !== 0 },
{ text: '下载', click: (_record) => this.download(_record)},
],
},
];