var a1=[
{name:"a",value:11},
{name:"b",value:22},
{name:"c",value:33},
{name:"d",value:44},
]
var a2=[
{name:"a",value:111},
{name:"b",value:222},
{name:"c",value:333},
{name:"d",value:444},
]
var b = [
{name:"a",value:11},
{name:"b",value:22},
{name:"c",value:333},
{name:"d",value:44},
]
I want to merge the two arrays A1 and a2 and store them in array b. Can we merge. The master said that there must be a mapping comparison and a control relationship before it can be merged. Because I am the front end, I don"t know much about the primary key of the database.