diff --git a/src/stores/auth.ts b/src/stores/auth.ts index 07af4b4..cd862e6 100644 --- a/src/stores/auth.ts +++ b/src/stores/auth.ts @@ -43,8 +43,6 @@ export const useAuthStore = defineStore('auth', () => { if (data.success && data.data) { - window.$toast?.(`登录成功, 欢迎 ${data.data.nickname || data.data.username}`, 'success'); - return data.data; }else{ window.$toast?.('[Auth] Token 验证失败:Token无效');