V-for loops div, but what if the values of the bound span are repeated

clipboard.png

clipboard.png

Jul.06,2022

add a default amount to each item, overwrite the data after it is found, and take item as a parameter in the change event, which looks like the following:

<span>{{item.amount}}</span>
paytype(item){
    let paymentTypeId = item.paymentTypeId;
    //xxx
    item.amount = this.xxx(paymentTypeId); 
}
Menu