map 用法 拿到map数组每一个数据

   getGroupList(){
      GetGroupList(this.active_id).then(res=>{
        // console.log(res.data.data)
        this.groupPlayer = res.data.data
        // console.log(this.groupPlayer)
        // this.groupPlayerId = res.data.data
        // this.groupPlayerId=this.groupPlayer.map((item)=>{ return item.id})  // 28  29 30 
      })
    },

 

posted @ 2020-11-16 15:00  里拉米苏  阅读(772)  评论(0编辑  收藏  举报