feat: 添加谷歌二步验证功能,更新用户头像下拉菜单以支持验证操作

This commit is contained in:
2026-01-20 06:29:19 +07:00
parent 9e6dbed419
commit 220b14be30
8 changed files with 214 additions and 57 deletions

View File

@@ -102,7 +102,7 @@ export const useAuthStore = defineStore(SetupStoreId.Auth, () => {
const res = await fetchLogin(userName, password);
if (!res.error) {
const pass = await loginByToken(res.response.data);
const pass = await loginByToken(res.data);
if (pass) {
// Check if the tab needs to be cleared