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.$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)
}
})

2
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()

2
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();

Loading…
Cancel
Save