后端返回 body={1:aaa,2:bbb,3:cccc} 前端遍历 let arr=[] for(let key in body){ arr.push({ value:key, label:body[key] }) }