修改登录
This commit is contained in:
parent
3378ab4a49
commit
e6ad6ad6fb
|
@ -64,8 +64,8 @@ const storeSetup = () => {
|
|||
// 登录
|
||||
const accountLogin = async (req: AccountLoginReq) => {
|
||||
const res = await accountLoginApi({ ...req })
|
||||
setToken(res.data.token)
|
||||
token.value = res.data.token
|
||||
setToken(res.data.tokenValue)
|
||||
token.value = res.data.tokenValue
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue