From 9381a10d1fb8eb910a7ce9d23723a8bebbdfa6c1 Mon Sep 17 00:00:00 2001 From: LoadChange Date: Thu, 20 Jun 2019 10:25:21 +0800 Subject: [PATCH] refactor: closes #1354 --- .../ClusterNodeList/ClusterNodeList.js | 12 +++----- .../ServiceDetail/EditClusterDialog.js | 9 +++--- .../ServiceDetail/EditInstanceDialog.js | 7 ++--- .../ServiceDetail/EditServiceDialog.js | 7 ++--- .../ServiceDetail/ServiceDetail.js | 9 ++++-- .../static/console-fe/src/utils/nacosutil.js | 15 ++++++++-- .../src/main/resources/static/css/main.css | 2 +- console/src/main/resources/static/js/main.js | 28 +++++++++---------- 8 files changed, 49 insertions(+), 40 deletions(-) diff --git a/console/src/main/resources/static/console-fe/src/pages/ClusterManagement/ClusterNodeList/ClusterNodeList.js b/console/src/main/resources/static/console-fe/src/pages/ClusterManagement/ClusterNodeList/ClusterNodeList.js index 48bce72cc..fb2470f82 100644 --- a/console/src/main/resources/static/console-fe/src/pages/ClusterManagement/ClusterNodeList/ClusterNodeList.js +++ b/console/src/main/resources/static/console-fe/src/pages/ClusterManagement/ClusterNodeList/ClusterNodeList.js @@ -109,13 +109,7 @@ class ClusterNodeList extends React.Component { render() { const { locale = {} } = this.props; - const { - pubNoData, - clusterNodeList, - nodeIp, - nodeIpPlaceholder, - query, - } = locale; + const { pubNoData, clusterNodeList, nodeIp, nodeIpPlaceholder, query } = locale; const { keyword, nowNamespaceName, nowNamespaceId } = this.state; const { init, getValue } = this.field; this.init = init; @@ -159,7 +153,9 @@ class ClusterNodeList extends React.Component {