fix: 右上角告警和帮助图标仅教师和管理员看见
This commit is contained in:
@@ -75,6 +75,7 @@ function fnChangeLocale(e: any) {
|
||||
|
||||
<template>
|
||||
<a-space :size="12" align="center">
|
||||
<span v-roles:has="['teacher', 'admin']">
|
||||
<a-button type="text" style="color: inherit" @click="fnClickAlarm">
|
||||
<template #icon>
|
||||
<a-badge
|
||||
@@ -87,6 +88,7 @@ function fnChangeLocale(e: any) {
|
||||
</a-badge>
|
||||
</template>
|
||||
</a-button>
|
||||
</span>
|
||||
|
||||
<!-- 锁屏操作 -->
|
||||
<a-tooltip placement="bottom">
|
||||
@@ -124,6 +126,7 @@ function fnChangeLocale(e: any) {
|
||||
</ProModal>
|
||||
</a-tooltip>
|
||||
|
||||
<span v-roles:has="['teacher', 'admin']">
|
||||
<a-tooltip placement="bottom">
|
||||
<template #title>{{ t('loayouts.rightContent.helpDoc') }}</template>
|
||||
<a-button type="text" style="color: inherit" @click="fnClickHelpDoc()">
|
||||
@@ -132,6 +135,7 @@ function fnChangeLocale(e: any) {
|
||||
</template>
|
||||
</a-button>
|
||||
</a-tooltip>
|
||||
</span>
|
||||
|
||||
<a-tooltip placement="bottom">
|
||||
<template #title>{{ t('loayouts.rightContent.fullscreen') }}</template>
|
||||
|
||||
Reference in New Issue
Block a user