list.forEach((value,index)=>{
if(value.content==content){
list.splice(index,1)
}
})
js根据对象中属性删除数组中对象
猜你喜欢
转载自blog.csdn.net/weixin_44168948/article/details/121513786
今日推荐
周排行