sso优化
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user