feat: 登录/注册接口对接
This commit is contained in:
@@ -45,10 +45,6 @@ export const useUserInfoStore = defineStore('userInfo', () => {
|
||||
}
|
||||
}
|
||||
|
||||
const login = async (data: any) => {
|
||||
return new Promise((resolve, reject) => {})
|
||||
}
|
||||
|
||||
const logOut = () => {
|
||||
// 处理退出登录的一些逻辑
|
||||
return new Promise((resolve) => {
|
||||
@@ -69,7 +65,6 @@ export const useUserInfoStore = defineStore('userInfo', () => {
|
||||
setGenerateParams,
|
||||
getGenerateParams,
|
||||
resetGenerateParams,
|
||||
logOut,
|
||||
login
|
||||
logOut
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user