diff --git a/NodePortal.html b/NodePortal.html index 8fbfa00..7c1ec12 100644 --- a/NodePortal.html +++ b/NodePortal.html @@ -1056,9 +1056,9 @@
PeerID + id="inputGroup-sizing-default">节点公钥
- +
@@ -1075,20 +1075,6 @@
-
-
-
- MasterAddr -
- -
- -
-
-
diff --git a/OnlineIDE.html b/OnlineIDE.html index 720c905..eb9a0d2 100644 --- a/OnlineIDE.html +++ b/OnlineIDE.html @@ -2,6 +2,7 @@ + 智能合约在线编辑器 diff --git a/js/NodeConfig.js b/js/NodeConfig.js index b2d7e9e..17c8d67 100644 --- a/js/NodeConfig.js +++ b/js/NodeConfig.js @@ -39,11 +39,10 @@ function showNodeConfig(data) { $("#nodeNameInput")[0].value = global.config.nodeName; $("#ipPortInput")[0].value = global.config.ipPort; $("#doipConfigInput")[0].value = global.config.doipConfig; - $("#masterAddrInput")[0].value = global.config.masterAddress; - $("#peerIDInput")[0].value = global.config.peerID; $("#licence")[0].value = global.config.licence $("#expireTime").html(global.config.expireTime); $("#yjsInput")[0].value = global.config.yjsPath; + $("#nodePubKeyInput")[0].value = global.config.nodePubKey; nodeCenterInputEl[0].value = global.config.nodeCenter; $("#nodeCenterWSInput")[0].value = global.config.nodeCenterWS; if (global.config.clusterConnected && global.config.clusterConnected === "true") { @@ -116,14 +115,6 @@ function changeDOIPConfig(event) { })); } -function changeMasterAddress(event) { - global.wssocket.send(JSON.stringify({ - action: 'updateConfig', - key: 'masterAddress', - val: $("#masterAddrInput")[0].value - })); -} - function onChangeNodeName(data) { console.log("onChangeNodeName", data); //$("#nodeNameInput")[0].value = data;