fix: 扫码登录改为默认首选 & 更新 CHANGELOG v5.1.0

This commit is contained in:
alger
2026-03-22 19:13:34 +08:00
parent 3fd8bff7b4
commit b6d08b9660
2 changed files with 10 additions and 3 deletions

View File

@@ -111,15 +111,15 @@ const router = useRouter();
const userStore = useUserStore();
// 当前激活的登录模式
const activeMode = ref<LoginMode>(LoginMode.COOKIE);
const activeMode = ref<LoginMode>(LoginMode.QR);
// 用于控制内容切换动画
const isTransitioning = ref(false);
// 登录选项配置
const loginTabs = computed(() => [
{ key: LoginMode.QR, label: t('login.title.qr') },
{ key: LoginMode.COOKIE, label: t('login.title.cookie') },
{ key: LoginMode.UID, label: t('login.title.uid') },
{ key: LoginMode.QR, label: t('login.title.qr') }
{ key: LoginMode.UID, label: t('login.title.uid') }
]);
// 手机号登录