if(this.multipleSelection.some((val) => val.wuliudanhao === '' )){
this.$message.error('没有输入物流单号,不能发货');
}else{
}
every,some遍历数组,every只要有一项不满足条件都返回false some有一项满足都会返回true
if(this.multipleSelection.some((val) => val.wuliudanhao === '' )){
this.$message.error('没有输入物流单号,不能发货');
}else{
}
every,some遍历数组,every只要有一项不满足条件都返回false some有一项满足都会返回true