链接:/pages/goods/cashier/index.vue
payTypeList:[]
payList(){
let list = [];
this.cartArr.forEach(item=>{
if(item.payStatus == 1){
list.push(item);
}
})
list.length && this.payType(list[0].value, 0)
this.payTypeList = list;
},
this.payList()