修改登录

This commit is contained in:
游离 2025-06-30 18:15:55 +08:00
parent 3378ab4a49
commit e6ad6ad6fb
2 changed files with 2 additions and 2 deletions

BIN
.DS_Store vendored

Binary file not shown.

View File

@ -64,8 +64,8 @@ const storeSetup = () => {
// 登录 // 登录
const accountLogin = async (req: AccountLoginReq) => { const accountLogin = async (req: AccountLoginReq) => {
const res = await accountLoginApi({ ...req }) const res = await accountLoginApi({ ...req })
setToken(res.data.token) setToken(res.data.tokenValue)
token.value = res.data.token token.value = res.data.tokenValue
} }