重新拉取
This commit is contained in:
parent
541a71706e
commit
ac7d97c6bd
|
|
@ -22,7 +22,6 @@ export const useLoginStore = defineStore("loginStore", {
|
||||||
|
|
||||||
async loginForRefreshToken() {
|
async loginForRefreshToken() {
|
||||||
const res = await refreshToken()
|
const res = await refreshToken()
|
||||||
console.log(res)
|
|
||||||
if (res.code == 200) {
|
if (res.code == 200) {
|
||||||
this.setToken(res.data.accessToken)
|
this.setToken(res.data.accessToken)
|
||||||
return true // 刷新成功
|
return true // 刷新成功
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user