const statusList = [
{
value: 'UN_PUBLISH',
label: '未发布'
},
{
value: 'PUBISH',
label: '已发布'
},
{
value: 'DELETE',
label: '下架'
},
]
let box= statusList.filter((value,index)=>{
return value.value== 'PUBISH'
})
console.log(box,'box') //{label: "已发布",value: "PUBISH"}