list1 = signal<any[]>([]);
this.list1.update(datas => {
datas.forEach(p => {
p.allFee = p.attorneyFee;
});
return datas;
});]
In this way, when you update a value, the value in the interface does not change. When you console.log it, the value has changed.
how to update ?
The value displayed on the web page changes
New contributor
billpeace is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.