From 606163f470d6b02184c6d552c34a1f850004f83c Mon Sep 17 00:00:00 2001
From: jhzh <1628036192@qq.com>
Date: Mon, 01 Jun 2026 12:00:07 +0800
Subject: [PATCH] 1
---
src/views/register/index.vue | 13 ++++---------
1 files changed, 4 insertions(+), 9 deletions(-)
diff --git a/src/views/register/index.vue b/src/views/register/index.vue
index de0ff1c..c31c3c8 100644
--- a/src/views/register/index.vue
+++ b/src/views/register/index.vue
@@ -43,7 +43,7 @@
</span>
</div>
</div>
- <ExInput :label="$t('金融机构代码')" :placeholderText="$t('请输入金融机构识别码')" v-model="invitCode" :clearBtn="false" />
+ <ExInput :label="$t('invitCode')" :placeholderText="$t('entryInvitCode')" 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 +88,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 +95,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)
}
@@ -134,7 +133,7 @@
console.log(store)
let usercode = getStorage('usercode')
if (usercode) {
- invitCode = usercode;
+ invitCode.value = usercode;
}
clearInterval(state.timer)
state.timer = null
@@ -255,10 +254,6 @@
}
if (repassword.value !== password.value) {
showToast(t('noSamePassword'));
- return
- }
- if (invitCode.value.length == '') {
- showToast(t('请输入金融机构代码'));
return
}
if (!agree.value) {
--
Gitblit v1.9.3