From d3ac33468cc338d0112863d6c86fad4af58a9c63 Mon Sep 17 00:00:00 2001
From: zhanghong <985492783@qq.com>
Date: Mon, 23 Oct 2023 15:11:29 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E8=8A=82=E7=82=B9=E6=98=BE?=
=?UTF-8?q?=E7=A4=BA=EF=BC=8C=E6=B7=BB=E5=8A=A0mode=20(#11275)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
console-ui/src/layouts/MainLayout.js | 14 ++++++++++-
console-ui/src/layouts/index.scss | 24 +++++++++++++++++--
console-ui/src/locales/en-US.js | 5 ++--
console-ui/src/locales/zh-CN.js | 5 ++--
.../ClusterNodeList/ClusterNodeList.js | 8 ++++---
console-ui/src/reducers/base.js | 1 +
.../src/main/resources/static/css/main.css | 2 +-
console/src/main/resources/static/index.html | 4 ++--
console/src/main/resources/static/js/main.js | 6 ++---
9 files changed, 53 insertions(+), 16 deletions(-)
diff --git a/console-ui/src/layouts/MainLayout.js b/console-ui/src/layouts/MainLayout.js
index 78ceef639..a3db0b1e3 100644
--- a/console-ui/src/layouts/MainLayout.js
+++ b/console-ui/src/layouts/MainLayout.js
@@ -43,6 +43,7 @@ class MainLayout extends React.Component {
location: PropTypes.object,
history: PropTypes.object,
version: PropTypes.any,
+ startupMode: PropTypes.any,
getState: PropTypes.func,
functionMode: PropTypes.string,
authEnabled: PropTypes.string,
@@ -98,7 +99,14 @@ class MainLayout extends React.Component {
}
render() {
- const { locale = {}, version, functionMode, authEnabled, consoleUiEnable } = this.props;
+ const {
+ locale = {},
+ version,
+ functionMode,
+ authEnabled,
+ consoleUiEnable,
+ startupMode,
+ } = this.props;
const { visible } = this.state;
const MenuData = getMenuData(functionMode);
return (
@@ -124,6 +132,10 @@ class MainLayout extends React.Component {
{locale.nacosName}
{version}
+
+ {locale.nacosMode}
+ {startupMode}
+