From 44db498cedee7573d090797b1fe5c331c413b00a Mon Sep 17 00:00:00 2001
From: zzzz <690498789@qq.com>
Date: Mon, 22 Apr 2024 19:03:57 +0800
Subject: [PATCH] first

---
 src/page/authentication/index.vue |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/src/page/authentication/index.vue b/src/page/authentication/index.vue
index c569801..6c59666 100644
--- a/src/page/authentication/index.vue
+++ b/src/page/authentication/index.vue
@@ -62,7 +62,7 @@
           <el-upload
             :with-credentials="true"
             class="avatar-uploader"
-            :action="admin + '/user/upload.do'"
+            :action="admin + 'user/upload.do'"
             list-type="picture-card"
             name="upload_file"
             :show-file-list="false"
@@ -88,7 +88,7 @@
           <el-upload
             :with-credentials="true"
             class="avatar-uploader"
-            :action="admin + '/user/upload.do'"
+            :action="admin + 'user/upload.do'"
             list-type="picture-card"
             name="upload_file"
             :show-file-list="false"
@@ -283,15 +283,16 @@
         Toast(this.$t("hj207"));
       } else if (isNull(this.form.idCard)) {
         Toast(this.$t("hj208"));
+      } else if (!this.form.img1key) {
+        Toast(this.$t("hj209"));
+      } else if (!this.form.img2key) {
+        Toast(this.$t("hj209"));
       } else {
         // 显示确认弹窗
         this.toAuthentication();
       }
     },
     async toAuthentication() {
-      // console.log(this.form);
-
-      // return;
       let opts = {
         realName: this.form.name,
         idCard: this.form.idCard,

--
Gitblit v1.9.3