tianyi 2 weeks ago
parent
commit
2e18887508
  1. 10
      components/tab-bar/delivery.vue

10
components/tab-bar/delivery.vue

@ -321,7 +321,10 @@
if (res.code == 200) { if (res.code == 200) {
that.getList() that.getList()
} else { } else {
that.tui.toast(res.message); uni.showToast({
title: res.message,
icon: 'none'
})
return; return;
} }
uni.hideLoading(); uni.hideLoading();
@ -382,7 +385,10 @@
that.totalPages = res.result.pages; // pages = that.totalPages = res.result.pages; // pages =
that.$forceUpdate(); that.$forceUpdate();
} else { } else {
that.tui.toast(res.message); uni.showToast({
title: res.message,
icon: 'none'
})
return; return;
} }
uni.hideLoading(); uni.hideLoading();

Loading…
Cancel
Save