非常简单,网上找的都废话连篇,还出错。 首先 //一个数组对象 var arr =[{id:1,name:'张三'}]; //只需要 console.log(arr.file[0].id); 拿到里面的值