diff --git a/components/tab-bar/delivery.vue b/components/tab-bar/delivery.vue index 139a1a3..5bb85ab 100644 --- a/components/tab-bar/delivery.vue +++ b/components/tab-bar/delivery.vue @@ -321,7 +321,10 @@ if (res.code == 200) { that.getList() } else { - that.tui.toast(res.message); + uni.showToast({ + title: res.message, + icon: 'none' + }) return; } uni.hideLoading(); @@ -382,7 +385,10 @@ that.totalPages = res.result.pages; // pages = 总页数 that.$forceUpdate(); } else { - that.tui.toast(res.message); + uni.showToast({ + title: res.message, + icon: 'none' + }) return; } uni.hideLoading();