feat: 登录/注册接口对接

This commit is contained in:
zhangyh
2025-10-27 11:08:26 +08:00
parent a31e529ea9
commit 0fb4ca004a
7 changed files with 111 additions and 93 deletions

View File

@@ -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
}
})