This commit is contained in:
qumeng039@126.com 2025-08-15 15:32:55 +08:00
parent 5f1ba3d630
commit 2a6f515100
3 changed files with 3 additions and 5 deletions

BIN
dist.zip

Binary file not shown.

View File

@ -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 // 刷新成功

View File

@ -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>