const valueList=List.filter((item)=> ids.includes(item.id)) if (valueList.every(obj => obj.state == 0)){ }else{ message.error('不行') }
const valueList=List.filter((item)=> ids.includes(item.id)) if (valueList.every(obj => obj.state == 0)){ }else{ message.error('不行') }