From 627942df78176c29b4b6d37849723a7fb3be89ac Mon Sep 17 00:00:00 2001 From: zzyuan <781948537@qq.com> Date: Thu, 23 Jan 2025 13:26:14 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B4=97=E8=BD=A6=E9=A2=84=E7=BA=A6=E5=8F=96?= =?UTF-8?q?=E6=B6=88=E8=BD=A6=E7=89=8C=E5=8F=B7=E6=A0=A1=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/washcar/washCarReservation.vue | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/pages/washcar/washCarReservation.vue b/pages/washcar/washCarReservation.vue index 19896f5..7a0d8b6 100644 --- a/pages/washcar/washCarReservation.vue +++ b/pages/washcar/washCarReservation.vue @@ -629,15 +629,19 @@ alertTip("请输入车牌号"); return } else { - if (this.licensePlateList.includes(this.carId)) { - if (licensePlateReg.test(this.carId) === false) { - alertTip("车牌号格式不正确"); - return; - } - } else { - alertTip("车牌号未配置"); + if (licensePlateReg.test(this.carId) === false) { + alertTip("车牌号格式不正确"); return; } + // if (this.licensePlateList.includes(this.carId)) { + // if (licensePlateReg.test(this.carId) === false) { + // alertTip("车牌号格式不正确"); + // return; + // } + // } else { + // alertTip("车牌号未配置"); + // return; + // } }