0
具有兩個UI柵,合併UI網格數據
vm.grid.order , having val1 & val2
vm.grid.reorder , having val3 & val5 & val7
結合這兩個網格值到vm.order
vm.order = vm.grid.order;
vm.order.push(vm.grid.reorder)
它返回這樣
{
[0]: "val1",
[1]: "val2",
[2]: ["val3", "val5", "val7"],
etc
}
陣列我怎麼能這樣得到它
{
[0]: "val1",
[1]: "val2",
[2]: "val3",
[3]: "val5",
[4]: "val7"
etc
}