let list = [
{
name: '111',
text: '222',
isShow: '33333'
},
{
name: '111',
text: '222',
isShow: '33333'
},
{
name: '111',
text: 0,
isShow: '33333'
},
]
let hasNull = list.some(item => Object.values(item).some(val => (val === '')))
console.log('---', hasNull) //false 代表都有值 true代表有空的情况 目前这里只判断了等于''才算空