From a104fbf7ebd5c8e5d3f88b9865d7682e9ed0ab26 Mon Sep 17 00:00:00 2001
From: TsMask <340112800@qq.com>
Date: Tue, 21 Nov 2023 18:46:19 +0800
Subject: [PATCH] =?UTF-8?q?feat:=20=E5=B8=AE=E5=8A=A9=E6=89=8B=E5=86=8C?=
=?UTF-8?q?=E5=8F=B3=E4=B8=8A=E4=BE=A7=E6=8C=89=E9=92=AE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/i18n/locales/en-US.ts | 1 +
src/i18n/locales/zh-CN.ts | 1 +
src/layouts/components/RightContent.vue | 14 ++++++++++++++
3 files changed, 16 insertions(+)
diff --git a/src/i18n/locales/en-US.ts b/src/i18n/locales/en-US.ts
index 24ee5154..641d0a50 100644
--- a/src/i18n/locales/en-US.ts
+++ b/src/i18n/locales/en-US.ts
@@ -156,6 +156,7 @@ export default {
// 布局
loayouts: {
rightContent: {
+ helpDoc: "Help Documentation",
fullscreen: "Full Screen",
logout: "Logout",
profile: "Profile",
diff --git a/src/i18n/locales/zh-CN.ts b/src/i18n/locales/zh-CN.ts
index 070e59fe..43de513b 100644
--- a/src/i18n/locales/zh-CN.ts
+++ b/src/i18n/locales/zh-CN.ts
@@ -156,6 +156,7 @@ export default {
// 布局
loayouts: {
rightContent: {
+ helpDoc: "帮助手册",
fullscreen: "全屏显示",
logout: "退出登录",
profile: "个人中心",
diff --git a/src/layouts/components/RightContent.vue b/src/layouts/components/RightContent.vue
index 924416c5..ea4e4a1e 100644
--- a/src/layouts/components/RightContent.vue
+++ b/src/layouts/components/RightContent.vue
@@ -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) {
+
+ {{ t('loayouts.rightContent.helpDoc') }}
+
+
+
+
+
+
+
{{ t('loayouts.rightContent.fullscreen') }}