if an array is known
items: [
{name: "zhangsan",
score: 0
},
{name: "lisi",
score: 0
}
],
in a form, the select tag binds the input box corresponding to items.name, and the variable value changingScore
when name is selected as "zhangsan" in the select drop-down menu, how can
add changingScore to items [0] .score after submission?
it"s best not to use for loops, because there may be a lot of data in the array