update: 提示顺序修改

This commit is contained in:
mixtan 2025-06-21 00:02:35 +08:00
parent e915d8b0e8
commit 6d5c417815

View File

@ -246,8 +246,8 @@ interface FormItemType {
} }
type ApplyFormDataType = { type ApplyFormDataType = {
[key in string]: any [key in string]: any;
} };
const orcImgTypeConf = { const orcImgTypeConf = {
FR_ID_CARD_FRONT: "FR_ID_CARD_FRONT", FR_ID_CARD_FRONT: "FR_ID_CARD_FRONT",
@ -386,6 +386,7 @@ const checkForm = async () => {
return valid; return valid;
}); });
if (isValid) {
if (applyFormData.license_type != 1) { if (applyFormData.license_type != 1) {
if (!applyFormData.license_image.length) { if (!applyFormData.license_image.length) {
ElMessage.error("请上传许可证图片"); ElMessage.error("请上传许可证图片");
@ -396,8 +397,6 @@ const checkForm = async () => {
return; return;
} }
} }
if (isValid) {
handleMerchApply(); handleMerchApply();
} }
}; };