diff --git a/src/pages/get/index.vue b/src/pages/get/index.vue index fb4286f..c3b86eb 100644 --- a/src/pages/get/index.vue +++ b/src/pages/get/index.vue @@ -177,6 +177,19 @@ export default { this.$nextTick(() => { this.setTabHeight(); }); + }) + .catch((e) => { + const that = this; + uni.showModal({ + title: "无法接单", + content: e, + showCancel: false, + success(success) { + if (success.confirm) { + that.$utils.toPage("", {}, "back"); + } + }, + }); }); }); },