sso优化

This commit is contained in:
2026-08-03 20:30:32 +08:00 Unverified
parent 5ec62a03ca
commit 6735a6d3fc
14 changed files with 540 additions and 30 deletions
+2
View File
@@ -263,6 +263,7 @@ const workspaceLabel = computed(() => {
})
const pageTitle = computed(() => {
if (route.path === '/account') return '个人账户'
const matchedItem = navigationGroups.value
.flatMap((group) => group.items)
.find((item) => item.path === route.path)
@@ -318,6 +319,7 @@ onMounted(() => {
<b>{{ auth.user?.displayName ?? '系统管理员' }}</b>
<span>{{ auth.user?.roles?.[0] ?? '教务人员' }}</span>
</div>
<el-button text @click="router.push('/account')">个人账户</el-button>
<el-button text @click="signOut">退出</el-button>
</div>
</div>