修改支付界面支付报错的bug
This commit is contained in:
parent
d6b758a6bc
commit
8a4b3d9f69
@ -653,7 +653,7 @@ export default {
|
|||||||
const params = {
|
const params = {
|
||||||
user_id: uni.getStorageSync('userId'),
|
user_id: uni.getStorageSync('userId'),
|
||||||
// 先判断shopCarList数据中是否包含isAdver且为true
|
// 先判断shopCarList数据中是否包含isAdver且为true
|
||||||
is_group_buy: this.carList.some(item => item.isAdver === true) ? 3 : (isGroupBuyValid ? 2 : 1),
|
order_cate : this.carList.some(item => item.isAdver === true) ? 3 : (isGroupBuyValid ? 2 : 1),
|
||||||
goods_list: Object.keys(this.supplierGroups).map(supplierId => {
|
goods_list: Object.keys(this.supplierGroups).map(supplierId => {
|
||||||
const group = this.supplierGroups[supplierId];
|
const group = this.supplierGroups[supplierId];
|
||||||
const firstItem = group[0];
|
const firstItem = group[0];
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user