1
李凌
2026-01-06 d038edd2e7be2ab280e984847f612fa69fd6fc39
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="" />
@@ -256,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
@@ -299,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)
@@ -314,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