From 5f2b76b86980a149c9299acbf022c879e75b85bd Mon Sep 17 00:00:00 2001
From: 李凌 <344137771@qq.com>
Date: Sat, 10 Jan 2026 10:43:23 +0800
Subject: [PATCH] 1

---
 src/views/register/index.vue |   21 +++++++++++----------
 1 files changed, 11 insertions(+), 10 deletions(-)

diff --git a/src/views/register/index.vue b/src/views/register/index.vue
index de0ff1c..45c3cda 100644
--- a/src/views/register/index.vue
+++ b/src/views/register/index.vue
@@ -43,7 +43,9 @@
                 </span>
             </div>
         </div>
-        <ExInput :label="$t('金融机构代码')" :placeholderText="$t('请输入金融机构识别码')" v-model="invitCode" :clearBtn="false" />
+
+        <!-- <ExInput :label="$t('金融机构代码')" :placeholderText="$t('请输入金融机构识别码')" v-model="invitCode" :clearBtn="false" /> -->
+
         <div class="protocol textColor">
             <i @click="agreeProt">
                 <img v-show="agree" src="../../assets/image/login/prot2.png" alt="" />
@@ -88,7 +90,6 @@
 import { ref, onMounted, reactive, onUnmounted } from 'vue';
 import { showToast } from "vant";
 import store from '@/store/store'
-const customer_service_url = ref(customerServiceUrl) // 客服链接,有值的话就会跳转到客服外链
 const { t } = useI18n()
 const router = useRouter()
 const onRoute = (path) => {
@@ -96,8 +97,8 @@
         router.go(-1)
     } else {
         if (path == '/customerService') {
-            if (customer_service_url.value) {
-                window.location.href = customer_service_url.value;
+            if (customerServiceUrl()) {
+                window.location.href = customerServiceUrl();
             } else {
                 router.push(path)
             }
@@ -257,10 +258,10 @@
         showToast(t('noSamePassword'));
         return
     }
-    if (invitCode.value.length == '') {
-        showToast(t('请输入金融机构代码'));
-        return
-    }
+    // if (invitCode.value.length == '') {
+    //     showToast(t('请输入金融机构代码'));
+    //     return
+    // }
     if (!agree.value) {
         showToast(t('agreeServiceCond'));
         return
@@ -300,7 +301,7 @@
             password: password.value,
             type: activeIndex.value === 1 ? '2' : '1',   // 2邮箱,1手机
             verifcode: verifyCode.value,
-            usercode: invitCode.value,
+            // usercode: invitCode.value,
             safeword: safeword.value
         }).then((res) => {
             userStore[GET_USERINFO](res)
@@ -315,7 +316,7 @@
             password: password.value,
             // re_password: repassword.value,
             type: type.value,
-            userCode: invitCode.value,
+            // userCode: invitCode.value,
         }).then((res) => {
             userStore[GET_USERINFO](res)
             store.state.user.userInfo = res

--
Gitblit v1.9.3