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

@@ -29,6 +29,13 @@
- 修复歌词缓存 IPC 通道未接入初始化 - 修复歌词缓存 IPC 通道未接入初始化
- 修复歌词组件卸载时 groupFadeTimer 未清理导致内存泄漏 - 修复歌词组件卸载时 groupFadeTimer 未清理导致内存泄漏
- 补全 MV/排行榜/歌单/搜索/专辑页面缺失的国际化 - 补全 MV/排行榜/歌单/搜索/专辑页面缺失的国际化
- 修复 NeteaseCloudMusicApi anonymous_token 文件不存在导致启动崩溃
- 修复移动端全屏歌词前奏阶段第一句歌词不可见
- 修复移动端音乐列表页按钮尺寸过大
- 登录页扫码登录改为默认首选
- 设置桌面端最小窗口尺寸为 900×640 防止内容截断
- 移除首页顶部多余 padding
- HomeHero 快捷导航仅移动端显示
### 🔒 安全 ### 🔒 安全

View File

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