因此,如果你希望向外传递多个参数时,只需要将它们组合成一个对象即可。 @Output() delete = new EventEmitter<any>(); delete.emit({ id: 1, name: 'cipchk' }); ...
確定! 回上一頁