refactor: store action name

This commit is contained in:
xingyu
2022-08-03 13:00:42 +08:00
parent 4bf8576dbd
commit e477179cd5
5 changed files with 15 additions and 15 deletions

View File

@ -103,7 +103,7 @@ const signIn = async () => {
.then(async (res) => {
setToken(res?.token)
const userInfo = await getInfoApi()
await userStore.getUserInfoAction(userInfo)
await userStore.setUserInfoAction(userInfo)
getRoutes()
})
.catch(() => {})