From 99a81996a112830fb8ccd2eee556e435d20ce919 Mon Sep 17 00:00:00 2001 From: shijingjing <1789544664@qq.com> Date: Fri, 30 Sep 2022 09:08:50 +0800 Subject: [PATCH] bug --- src/project/pingchang/AppGetewayRegister/getewayAdd.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/project/pingchang/AppGetewayRegister/getewayAdd.vue b/src/project/pingchang/AppGetewayRegister/getewayAdd.vue index f5c1d8d..730229b 100644 --- a/src/project/pingchang/AppGetewayRegister/getewayAdd.vue +++ b/src/project/pingchang/AppGetewayRegister/getewayAdd.vue @@ -418,7 +418,9 @@ export default { }, 'form.companionCount': { handler(e) { - + if(e > 50) { + this.$u.toast('超过50人啦') + } } } }, @@ -583,7 +585,7 @@ export default { // return this.$toast('请输入出发地址') // } - if (!this.travelType) { + if (!this.travelType.length) { return this.$toast('请选择出行方式') }