tianyi 3 weeks ago
parent
commit
f7d0677239
  1. 12
      components/tab-bar/delivery.vue
  2. 2
      components/tab-bar/myCenter.vue
  3. 2
      components/tab-bar/tab-bar.vue

12
components/tab-bar/delivery.vue

@ -561,7 +561,7 @@
that.totalPages = res.result.pages; // pages = that.totalPages = res.result.pages; // pages =
that.$forceUpdate(); that.$forceUpdate();
} else { } else {
that.tui.toast(res.message, 1000); that.tui.toast(res.message);
return; return;
} }
uni.hideLoading(); uni.hideLoading();
@ -672,7 +672,7 @@
}, },
openPopup() { openPopup() {
if (this.isOnLine != 1) { if (this.isOnLine != 1) {
this.tui.toast('请先上线后配置', 1000); this.tui.toast('请先上线后配置');
return; return;
} }
let that = this let that = this
@ -730,7 +730,7 @@
} */ } */
this.$refs.carPopup.open() this.$refs.carPopup.open()
} else { } else {
that.tui.toast(res.message, 1000) that.tui.toast(res.message)
return return
} }
}).catch((res) => {}) }).catch((res) => {})
@ -814,9 +814,9 @@
worker.isOnLine = value; worker.isOnLine = value;
this.isOnLine = value this.isOnLine = value
uni.setStorageSync('worker', worker); uni.setStorageSync('worker', worker);
this.tui.toast(res.message, 1000) this.tui.toast(res.message)
} else { } else {
this.tui.toast(res.message, 1000) this.tui.toast(res.message)
} }
}) })
@ -833,7 +833,7 @@
if (res.code == 200) { if (res.code == 200) {
} else { } else {
this.tui.toast(res.message, 1000) this.tui.toast(res.message)
} }
}) })

2
components/tab-bar/myCenter.vue

@ -162,7 +162,7 @@
url: url url: url
}) })
} else { } else {
that.tui.toast(res.message,1000) that.tui.toast(res.message)
return return
} }
uni.hideLoading() uni.hideLoading()

2
components/tab-bar/tab-bar.vue

@ -142,7 +142,7 @@
} }
that.$forceUpdate(); that.$forceUpdate();
} else { } else {
that.tui.toast(res.message,1000); that.tui.toast(res.message);
return; return;
} }
uni.hideLoading(); uni.hideLoading();

Loading…
Cancel
Save