perf: 注册页面增加手机注册tab页签

This commit is contained in:
xiaojunnuo
2025-10-25 01:05:42 +08:00
parent 3bdc610249
commit 6b2f1fcd3e
7 changed files with 94 additions and 7 deletions
@@ -95,11 +95,14 @@ import SmsCode from "/@/views/framework/login/sms-code.vue";
import { useI18n } from "/@/locales";
import { LanguageToggle } from "/@/vben/layouts";
import CaptchaInput from "/@/components/captcha/captcha-input.vue";
import { useRoute } from "vue-router";
export default defineComponent({
name: "LoginPage",
components: { LanguageToggle, SmsCode, CaptchaInput },
setup() {
const { t } = useI18n();
const route = useRoute();
const urlLoginType = route.query.loginType as string | undefined;
const verifyCodeInputRef = ref();
const loading = ref(false);
const userStore = useUserStore();
@@ -110,7 +113,7 @@ export default defineComponent({
phoneCode: "86",
mobile: "",
password: "",
loginType: "password", //password
loginType: urlLoginType || "password", //password
smsCode: "",
captcha: null,
smsCaptcha: null,