我有一个具有以下结构的列表[{name:A,key:1},{name:B,key:2},{name:C,key:3}]我想用这种结构创建一个列表,但是在name和key之间反转数据:[{name:1,key:A},{name:2,key:B},{name:3,key:C}]我该怎么做? 查看完整描述