只能把后台的list拼接成一个字符串,var a=[{"name":"zhangsan","sex":"man"}{"name":"lishi","sex":"man"}]拼成这样的话JS写a[0].name就能得到zhangsan