1
李凌
yesterday f0c4104de3ea56f196ff7a366e379283fb37ec8c
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) {