pages/customer-page/addTo-freightForwarder-driver/addTo-freightForwarder-driver.vue
@@ -17,7 +17,7 @@ <script> import { customerId } from '@/utils/status.js'; export default { onLoad(params) { onLoad(params) { this.role = params.role; if (params.fleetId) { this.fleetId = params.fleetId; @@ -74,9 +74,8 @@ }); }, 1000); } else { this.$u.toast(res.msg ? res.msg : '未成功添加'); this.$u.toast(res.data ? res.data : '未成功添加'); } console.log('邀请货代', res); }); }, // 邀请司机 @@ -90,7 +89,7 @@ }); } else { uni.showToast({ title: res.msg, title: res.data, icon: 'null', duration: 2000 });