pages/driver-page/driver-index/driver-index.vue
@@ -162,12 +162,12 @@ }, // 抢单请求 qiangDan(id) { // this.$reqPost('qiangDan', { orderPlanId: id, wxUserId: customerId }, 'params').then(res => { this.$reqPost('qiangDan', { orderPlanId: id }, 'params').then(res => { if (res.code == 0) { this.$u.toast('抢单成功'); } else { this.$u.toast(res.data ? res.data : '抢单失败'); } console.log('抢单', res); this.qiangDanList(); }); },