js集合删除、js删除集合

    deleteById:function(id){
       this.checkList.forEach(function (itme,index,array) {
            if(itme.id===id){
              array.splice(index,1);
            }

       })
    },
原文地址:https://www.cnblogs.com/qq376324789/p/13261278.html