mounted(){
this.ticketArr=[
{
name:'大师傅',
isshow:false
},
{
name:'的风格',
isshow:false
}
]
if(this.ticketArr.findIndex(target=>target.isshow===true)==-1){
console.log('验证通过')
}else {
console.log('验证不通过')
}
}
版权声明:本文为wqnmlgbsz原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。