视频连线
This commit is contained in:
@@ -106,6 +106,11 @@ export const useUserStore = defineStore('user', () => {
|
||||
return res.data
|
||||
}
|
||||
|
||||
const applyOAuthLogin = (data) => {
|
||||
_handleAuthSuccess(data)
|
||||
return data
|
||||
}
|
||||
|
||||
/**
|
||||
* 退出登录
|
||||
* 1. 调用后端 API 从 Redis 删除 Token(使 Token 立即失效)
|
||||
@@ -207,6 +212,7 @@ export const useUserStore = defineStore('user', () => {
|
||||
// actions
|
||||
login,
|
||||
register,
|
||||
applyOAuthLogin,
|
||||
logout,
|
||||
getProfile,
|
||||
updateProfile,
|
||||
|
||||
Reference in New Issue
Block a user