ajax return object,ajax返回object

7ff230ece9a64878ef948e6d9e80d6bf.png

$.ajax({

type: "post",

async: true,

url: "/abc.do",

data: {},

dataType: "json",

success: function (result) {

console.log(result)

}

});

后台返回的数据是:

object {result: Array[12]}

result: Array[12]

0: Object

1: Object

2: Object

3: Object

4: Object

5: Object

6: Object

7: Object

8: Object

9: Object

10: Object

“month”: "2017-05"

"reward": 0

"rewardFormat": "0.00"

11: Object

"month": "2017-06"

"reward": 0

"rewardFormat": "0.00"

length: 12

__proto__: Array[0]

__proto__: Object

想要获取month,rewardFormat