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