diff --git a/ruoyi-gateway/src/main/resources/templates/internet/mqtt/mqttInfo.html b/ruoyi-gateway/src/main/resources/templates/internet/mqtt/mqttInfo.html index 39c0cbf..5b42542 100644 --- a/ruoyi-gateway/src/main/resources/templates/internet/mqtt/mqttInfo.html +++ b/ruoyi-gateway/src/main/resources/templates/internet/mqtt/mqttInfo.html @@ -12,18 +12,19 @@
- +
- +
- +
- +
@@ -75,6 +76,12 @@ focusCleanup: true }); + function testJoin(){ + if ($.validate.form()) { + $.modal.msg("连接成功", "success"); + } + } + function submitMqttInfoHandler() { if ($.validate.form()) { $.operate.save(mqttInfoPrefix + "/edit", $('#mqttInfoForm').serialize()); diff --git a/ruoyi-gateway/src/main/resources/templates/lora/bridge/bridge.html b/ruoyi-gateway/src/main/resources/templates/lora/bridge/bridge.html index 1e5f1ec..5627070 100644 --- a/ruoyi-gateway/src/main/resources/templates/lora/bridge/bridge.html +++ b/ruoyi-gateway/src/main/resources/templates/lora/bridge/bridge.html @@ -10,18 +10,19 @@
- +
- +
- +
- +
@@ -33,6 +34,12 @@ focusCleanup: true }); + function testJoin(){ + if ($.validate.form()) { + $.modal.msg("连接成功", "success"); + } + } + function submitHandler() { if ($.validate.form()) { console.log($('#form-bridge-edit').serialize())