From f2a9f9784813eaaecf6cfe969c9ded9d2c38e0b3 Mon Sep 17 00:00:00 2001 From: xusd Date: Thu, 8 Aug 2024 15:49:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E8=BF=9E=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../templates/internet/mqtt/mqttInfo.html | 15 +++++++++++---- .../resources/templates/lora/bridge/bridge.html | 15 +++++++++++---- 2 files changed, 22 insertions(+), 8 deletions(-) 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())