feat: 添加谷歌二步验证功能,更新用户头像下拉菜单以支持验证操作
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user