fix: 右上角气泡提示活动告警
This commit is contained in:
@@ -185,6 +185,7 @@ export default {
|
|||||||
helpDoc: 'Doc',
|
helpDoc: 'Doc',
|
||||||
},
|
},
|
||||||
rightContent: {
|
rightContent: {
|
||||||
|
alarm: "Active Alarms",
|
||||||
lock: "Lock Screen",
|
lock: "Lock Screen",
|
||||||
lockTip: "Confirmation of the lock screen?",
|
lockTip: "Confirmation of the lock screen?",
|
||||||
lockPasswd: "Unlock Password",
|
lockPasswd: "Unlock Password",
|
||||||
|
|||||||
@@ -185,6 +185,7 @@ export default {
|
|||||||
helpDoc: '使用手册',
|
helpDoc: '使用手册',
|
||||||
},
|
},
|
||||||
rightContent: {
|
rightContent: {
|
||||||
|
alarm: "活动告警",
|
||||||
lock: "锁屏",
|
lock: "锁屏",
|
||||||
lockTip: "确认要进行锁屏吗?",
|
lockTip: "确认要进行锁屏吗?",
|
||||||
lockPasswd: "解锁密码",
|
lockPasswd: "解锁密码",
|
||||||
|
|||||||
@@ -65,6 +65,8 @@ function fnChangeLocale(e: any) {
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<a-space :size="12" align="center">
|
<a-space :size="12" align="center">
|
||||||
|
<a-tooltip placement="bottom">
|
||||||
|
<template #title>{{ t('loayouts.rightContent.alarm') }}</template>
|
||||||
<a-button type="text" style="color: inherit" @click="fnClickAlarm">
|
<a-button type="text" style="color: inherit" @click="fnClickAlarm">
|
||||||
<template #icon>
|
<template #icon>
|
||||||
<a-badge
|
<a-badge
|
||||||
@@ -77,6 +79,7 @@ function fnChangeLocale(e: any) {
|
|||||||
</a-badge>
|
</a-badge>
|
||||||
</template>
|
</template>
|
||||||
</a-button>
|
</a-button>
|
||||||
|
</a-tooltip>
|
||||||
|
|
||||||
<!-- 锁屏操作 -->
|
<!-- 锁屏操作 -->
|
||||||
<span v-perms:has="['system:setting:lock']">
|
<span v-perms:has="['system:setting:lock']">
|
||||||
|
|||||||
Reference in New Issue
Block a user