打印如下用法二,直接return重构数组对象 let list = res.data.map((item)=>{ return { text:item.deptName, value:item.deptId } })