| | |
| | | changeType == 0 |
| | | ? t("youxiang") |
| | | : changeType == 1 |
| | | ? t("shoujihao") |
| | | ? t("zhanghao") |
| | | : t("zhanghao") |
| | | }} |
| | | </div> |
| | | <!-- 手机号 --> |
| | | <div class="css-hiy16i" v-if="changeType == 1"> |
| | | <div class="css-hiy16i" v-if="changeType == 2"> |
| | | <div class="css-4cffwv"> |
| | | <div class="border-countrycode" @click="tansferSelecCoun"> |
| | | + {{ countryCodeStore.code }} |
| | |
| | | </el-input> |
| | | </div> |
| | | <!-- 账号 --> |
| | | <div class="css-hiy16i" v-else-if="changeType == 2"> |
| | | <div class="css-hiy16i" v-else-if="changeType == 1"> |
| | | <el-input |
| | | autocomplete="off" |
| | | type="email" |
| | |
| | | const userStore = useUserStore(); |
| | | const countryCodeStore = useCountryCodeStore(); |
| | | const router = useRouter(); |
| | | const arrType = [t("youxiang"), t("shoujihao"), t("zhanghao")]; |
| | | const changeType = ref(2); |
| | | // const arrType = [t("youxiang"), t("shoujihao"), t("zhanghao")]; |
| | | const arrType = [t("youxiang"), t("zhanghao")]; |
| | | const changeType = ref(1); |
| | | const showverify = ref(false); |
| | | const selectCountryRef = ref(null); |
| | | const emailPd = ref({ |
| | |
| | | password: pwd, |
| | | }; |
| | | showverify.value = true; |
| | | if (changeType.value == 1) { |
| | | data = { username: countryCodeStore.code + account, password: pwd }; |
| | | } |
| | | // if (changeType.value == 1) { |
| | | // data = { username: countryCodeStore.code + account, password: pwd }; |
| | | // } |
| | | if (data.username && data.password) { |
| | | Axios.login({ |
| | | ...data, |