优化
This commit is contained in:
1 parent
e5afe60a11
commit
7994ed1ed3
8 files changed
+408
-13
No files matched your search
@@ -348,8 +348,8 @@ 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>
|
||||
<el-button class="desktop-account-action" text @click="router.push('/account')">个人账户</el-button>
|
||||
<el-button class="desktop-account-action" text @click="signOut">退出</el-button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -431,6 +431,16 @@ onMounted(() => {
|
||||
</template>
|
||||
</el-menu>
|
||||
|
||||
<div class="mobile-account-actions">
|
||||
<button type="button" @click="router.push('/account'); mobileMenu = false">
|
||||
<span>个人账户</span>
|
||||
<small>{{ auth.user?.displayName ?? '当前用户' }}</small>
|
||||
</button>
|
||||
<button type="button" class="mobile-sign-out" @click="signOut">
|
||||
退出登录
|
||||
</button>
|
||||
</div>
|
||||
|
||||
</aside>
|
||||
|
||||
<div v-if="mobileMenu" class="mobile-mask" @click="mobileMenu = false" />
|
||||
|
||||
Reference in new issue
Block a user