update doip-sdk

This commit is contained in:
CaiHQ
2023-12-15 16:36:54 +08:00
parent 2ab42516f9
commit 376fde8154
3 changed files with 4 additions and 26 deletions

View File

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