From 1227588182bd8be05d8037a1b4371c778ed589e2 Mon Sep 17 00:00:00 2001 From: LiuJiaNan <15703339975@163.com> Date: Wed, 4 Feb 2026 15:20:06 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../firstLevelDoor/PersonnelApplication/Apply/index.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/pages/Container/Mobile/firstLevelDoor/PersonnelApplication/Apply/index.js b/src/pages/Container/Mobile/firstLevelDoor/PersonnelApplication/Apply/index.js index 9d759ce..b411719 100644 --- a/src/pages/Container/Mobile/firstLevelDoor/PersonnelApplication/Apply/index.js +++ b/src/pages/Container/Mobile/firstLevelDoor/PersonnelApplication/Apply/index.js @@ -69,6 +69,13 @@ function Apply(props) { }); return; } + if (values.accessType === "1" && values.vehicleLicensePhoto.length !== 2) { + Toast.show({ + icon: "fail", + content: "请上传两张行驶证照片", + }); + return; + } console.log(values); props.history.push(`./success?accessType=${values.accessType}&text=${values.accessType === "1" ? values.licensePlateNumber : values.phoneNumber}`); };