1
jhzh
2024-08-14 37fb490c2eed1aeca3246408916339207a57907d
1
5 files modified
20 ■■■■■ changed files
src/i18n/en.json 2 ●●● patch | view | raw | blame | history
src/i18n/zh.json 2 ●●● patch | view | raw | blame | history
src/page/authentication/components/nationalityList.vue 3 ●●●●● patch | view | raw | blame | history
src/page/authentication/index.vue 3 ●●●●● patch | view | raw | blame | history
src/page/register/index.vue 10 ●●●● patch | view | raw | blame | history
src/i18n/en.json
@@ -918,7 +918,7 @@
  "电子邮箱": "E-mail",
  "设置密码": "Set password",
  "请确认密码": "Please confirm your password",
  "邀请码(选填)": "Invitation code (Required)",
  "邀请码(选填)": "Invitation code (Optional)",
  "请输入邀请码": "Please enter the invitation code",
  "已有账号": "Have an account",
  "我已阅读并同意": "I have read and agree",
src/i18n/zh.json
@@ -1570,7 +1570,7 @@
  "再次输入密码": "再次输入密码",
  "资金密码": "资金密码",
  "资金密码(6-12个数字)": "资金密码(6-12个数字)",
  "邀请码(选填)": "邀请码(必填)",
  "邀请码(选填)": "邀请码(选填)",
  "我已同意并阅读": "我已同意并阅读",
  "注册": "注册",
  "注册过?": "注册过?",
src/page/authentication/components/nationalityList.vue
@@ -172,6 +172,9 @@
    mounted() {
        // this.$emit('excountry', this.countries[this.countryCode])
        this.language = this.$i18n.locale
        if(this.language=='zh-TW'){
            this.language='zh-CN'
        }
        this.countriesFind = this.countries[this.language]
        this.getData();
    },
src/page/authentication/index.vue
@@ -229,6 +229,9 @@
  },
  created() {
    this.language = this.$i18n.locale;
    if(this.language=='zh-TW'){
        this.language='zh-CN'
    }
    this.fetchInfo();
  },
  methods: {
src/page/register/index.vue
@@ -14,7 +14,7 @@
        <ExInput :label="$t('设置密码')" :placeholderText="$t('密码(6-12个字符)')" v-model="password" typeText="password" />
        <ExInput :label="$t('确认密码')" :placeholderText="$t('请确认密码')" v-model="repassword" typeText="password" />
        <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="" />
@@ -143,10 +143,10 @@
            //         return
            //     }
            // }
            if(this.invitCode ==''){
                this.$toast(this.$t('请输入邀请码'));
                        return
            }
            // if(this.invitCode ==''){
            //     this.$toast(this.$t('请输入邀请码'));
            //             return
            // }
            switch (this.activeIndex) {
                case 0:
                    {