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; + // } }