From 304f819d3e9b2498ebdb70b99b632cda67725a52 Mon Sep 17 00:00:00 2001
From: 李 <344137771@qq.com>
Date: Sun, 31 May 2026 17:57:32 +0800
Subject: [PATCH] 1

---
 src/views/authentication/index.vue |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/src/views/authentication/index.vue b/src/views/authentication/index.vue
index 51ced38..9139f94 100644
--- a/src/views/authentication/index.vue
+++ b/src/views/authentication/index.vue
@@ -180,7 +180,14 @@
     showToast(t('pleaseSelectBirth'));
     return;
   }
-  // 证件照非必填,不校验 frontFile/reverseFile
+  if (!frontFile.value.length || !frontFile.value[0]?.resURL) {
+    showToast(frontFile.value[0]?.status === 'uploading' ? t('uploading') : t('uploadComplete'));
+    return;
+  }
+  if (!reverseFile.value.length || !reverseFile.value[0]?.resURL) {
+    showToast(reverseFile.value[0]?.status === 'uploading' ? t('uploading') : t('uploadComplete'));
+    return;
+  }
 
   _applyIdentify({
     countryName: countryCode.value,

--
Gitblit v1.9.3