feat: 帮助手册右上侧按钮
This commit is contained in:
@@ -156,6 +156,7 @@ export default {
|
|||||||
// 布局
|
// 布局
|
||||||
loayouts: {
|
loayouts: {
|
||||||
rightContent: {
|
rightContent: {
|
||||||
|
helpDoc: "Help Documentation",
|
||||||
fullscreen: "Full Screen",
|
fullscreen: "Full Screen",
|
||||||
logout: "Logout",
|
logout: "Logout",
|
||||||
profile: "Profile",
|
profile: "Profile",
|
||||||
|
|||||||
@@ -156,6 +156,7 @@ export default {
|
|||||||
// 布局
|
// 布局
|
||||||
loayouts: {
|
loayouts: {
|
||||||
rightContent: {
|
rightContent: {
|
||||||
|
helpDoc: "帮助手册",
|
||||||
fullscreen: "全屏显示",
|
fullscreen: "全屏显示",
|
||||||
logout: "退出登录",
|
logout: "退出登录",
|
||||||
profile: "个人中心",
|
profile: "个人中心",
|
||||||
|
|||||||
@@ -29,6 +29,11 @@ function fnClickAlarm() {
|
|||||||
router.push({ path: '/faultManage/active-alarm' });
|
router.push({ path: '/faultManage/active-alarm' });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**帮助手册按钮提示跳转 */
|
||||||
|
function fnClickHelpDoc() {
|
||||||
|
router.push({ name: 'Help_118' });
|
||||||
|
}
|
||||||
|
|
||||||
/**改变多语言 */
|
/**改变多语言 */
|
||||||
function fnChangeLocale(e: any) {
|
function fnChangeLocale(e: any) {
|
||||||
changeLocale(e.key);
|
changeLocale(e.key);
|
||||||
@@ -49,6 +54,15 @@ function fnChangeLocale(e: any) {
|
|||||||
</template>
|
</template>
|
||||||
</a-button>
|
</a-button>
|
||||||
|
|
||||||
|
<a-tooltip>
|
||||||
|
<template #title>{{ t('loayouts.rightContent.helpDoc') }}</template>
|
||||||
|
<a-button type="text" @click="fnClickHelpDoc">
|
||||||
|
<template #icon>
|
||||||
|
<QuestionCircleOutlined />
|
||||||
|
</template>
|
||||||
|
</a-button>
|
||||||
|
</a-tooltip>
|
||||||
|
|
||||||
<a-tooltip>
|
<a-tooltip>
|
||||||
<template #title>{{ t('loayouts.rightContent.fullscreen') }}</template>
|
<template #title>{{ t('loayouts.rightContent.fullscreen') }}</template>
|
||||||
<a-button type="text" @click="toggle">
|
<a-button type="text" @click="toggle">
|
||||||
|
|||||||
Reference in New Issue
Block a user