let options2 = [{
label: '江苏',
value : '11',
cities: [
{
label: ' 南京1101',
value : '1101'
},
{
label: '无锡1102',
value : '1102'
}
]
}, {
label: '浙江',
value: '22',
cities: [
{
label: '温州温州wn2201',
value : '2201'
},
{
label: '义务义务2202',
value : '2202'
}
]
}]
function aaa(arr){
let ojb = {
name : '',
code : ''
};
let subOjb = {};
let AllOjb = {};
options2.map( (item,index) => {
对象拼接合并
最新推荐文章于 2023-10-28 16:41:03 发布