feat: 删除登陆toast
This commit is contained in:
parent
bdba44c0a1
commit
f5b6a499ed
|
|
@ -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无效');
|
||||
|
|
|
|||
Loading…
Reference in New Issue