diff --git a/components/tab-bar/delivery.vue b/components/tab-bar/delivery.vue index c05681c..ee938c5 100644 --- a/components/tab-bar/delivery.vue +++ b/components/tab-bar/delivery.vue @@ -561,7 +561,7 @@ that.totalPages = res.result.pages; // pages = 总页数 that.$forceUpdate(); } else { - that.tui.toast(res.message, 1000); + that.tui.toast(res.message); return; } uni.hideLoading(); @@ -672,7 +672,7 @@ }, openPopup() { if (this.isOnLine != 1) { - this.tui.toast('请先上线后配置', 1000); + this.tui.toast('请先上线后配置'); return; } let that = this @@ -730,7 +730,7 @@ } */ this.$refs.carPopup.open() } else { - that.tui.toast(res.message, 1000) + that.tui.toast(res.message) return } }).catch((res) => {}) @@ -814,9 +814,9 @@ worker.isOnLine = value; this.isOnLine = value uni.setStorageSync('worker', worker); - this.tui.toast(res.message, 1000) + this.tui.toast(res.message) } else { - this.tui.toast(res.message, 1000) + this.tui.toast(res.message) } }) @@ -833,7 +833,7 @@ if (res.code == 200) { } else { - this.tui.toast(res.message, 1000) + this.tui.toast(res.message) } }) diff --git a/components/tab-bar/myCenter.vue b/components/tab-bar/myCenter.vue index 1b11cc2..fb85d7b 100644 --- a/components/tab-bar/myCenter.vue +++ b/components/tab-bar/myCenter.vue @@ -162,7 +162,7 @@ url: url }) } else { - that.tui.toast(res.message,1000) + that.tui.toast(res.message) return } uni.hideLoading() diff --git a/components/tab-bar/tab-bar.vue b/components/tab-bar/tab-bar.vue index 12caf49..62aadac 100644 --- a/components/tab-bar/tab-bar.vue +++ b/components/tab-bar/tab-bar.vue @@ -142,7 +142,7 @@ } that.$forceUpdate(); } else { - that.tui.toast(res.message,1000); + that.tui.toast(res.message); return; } uni.hideLoading();