map循环遍历

data.map(function(item){
  item.show = false;     //将拿到的data循环给每一项添加show属性
});
posted @ 2018-07-11 15:01  李美玲  阅读(188)  评论(0)    收藏  举报