diff --git a/pages/index/index.vue b/pages/index/index.vue
index 68d9ecf..8878cea 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -412,7 +412,7 @@
+ alt="" style="width: 55rpx;height: 55rpx;" />
@@ -428,7 +428,7 @@
+ alt="" style="width: 55rpx;height: 55rpx;" />
@@ -1050,9 +1050,11 @@
if (!uni.getStorageSync('worker') && res.result != null) {
this.$refs.tishiPopup.open()
uni.setStorageSync('worker', res.result)
+ that.$refs.tabBar.indexWorkerCount ++
}else{
if(res.message == '接单成功'){
that.tui.toast(res.message);
+ that.$refs.tabBar.indexWorkerCount ++
}else{
that.tui.toast(res.message,2000);
}
@@ -1070,7 +1072,7 @@
that.paotuiCount -= 1
}
}
- that.$refs.tabBar.indexWorkerCount ++
+
setTimeout(res => {
this.getUserLocation(uni.getStorageSync('worker') ? uni.getStorageSync('worker').workerId : res.result.workerId)
}, 2000)
@@ -1080,9 +1082,7 @@
that.tui.toast(res.message);
return;
}
- uni.hideLoading();
}).catch((res) => {});
-
},
rejectOrder(item, index) {
let that = this