feat: 帮助手册右上侧按钮

This commit is contained in:
TsMask
2023-11-21 18:46:19 +08:00
parent 407e15ca3c
commit a104fbf7eb
3 changed files with 16 additions and 0 deletions

View File

@@ -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">