1
This commit is contained in:
parent
5f1ba3d630
commit
2a6f515100
|
|
@ -19,10 +19,8 @@ export const useLoginStore = defineStore("loginStore", {
|
|||
ElMessage.success("登录成功!")
|
||||
router.push("/navigation")
|
||||
},
|
||||
|
||||
async loginForRefreshToken() {
|
||||
const res = await refreshToken()
|
||||
console.log(res)
|
||||
if (res.code == 200) {
|
||||
this.setToken(res.data.accessToken)
|
||||
return true // 刷新成功
|
||||
|
|
|
|||
|
|
@ -69,9 +69,9 @@ const groupMemberInfoMap = {
|
|||
}
|
||||
|
||||
const typeTitle = ref({
|
||||
0: props.groupList[0].title[0],
|
||||
1: props.groupList[0].title[1],
|
||||
6: props.groupList[0].title[2]
|
||||
0: props.groupList[0]?.title[0] || "",
|
||||
1: props.groupList[0]?.title[1] || "",
|
||||
6: props.groupList[0]?.title[2] || ""
|
||||
})
|
||||
</script>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user