前端获取后端返回数据
前端接收,默认为对象
接收方式
let map= new Map(Object.entries(data)); ; console.log([...map.keys()] ) 此时打印出来的则是mao的key