score:1

Accepted answer

please check this - vue cannot detect the changes to an array if you using it like

this.withdoccosttotals[years - 1] = value;

you should use vue.set:

vue.set(this.withdoccosttotals, years - 1, value);

Related Query