diff --git a/pages/index/index.vue b/pages/index/index.vue index 0210112..2e0ce19 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -964,10 +964,13 @@ if (res.code == 200) { that.resetSwipeOrder(); if (!uni.getStorageSync('worker') && res.result != null) { + that.tui.toast(res.message + '点击下方"配送"即可开始送单啦!'); uni.setStorageSync('worker', res.result) + }else{ + that.tui.toast(res.message); } that.deliveryItem.splice(index, 1) - that.tui.toast(res.message); + if (item.workerId != null && item.workerId != undefined && item.workerId != '') { that.zhipaiCount -= 1 } else {