From 89c84df317a3b8faea79642effabc2898cc10ec5 Mon Sep 17 00:00:00 2001 From: root <295172551@qq.com> Date: Thu, 26 Jun 2025 00:09:26 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=A7=E8=8B=8F=E6=89=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- LTEMvcApp/Views/Home/TestClientConfig.cshtml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/LTEMvcApp/Views/Home/TestClientConfig.cshtml b/LTEMvcApp/Views/Home/TestClientConfig.cshtml index 5eba65d..337db5f 100644 --- a/LTEMvcApp/Views/Home/TestClientConfig.cshtml +++ b/LTEMvcApp/Views/Home/TestClientConfig.cshtml @@ -252,7 +252,7 @@
- +
@@ -412,6 +412,11 @@ $('#' + selectedMode + 'Layers').show(); }); + // 页面加载时根据当前模式显示对应日志层 + var initialMode = $('input[name="mode"]:checked').val(); + $('.mode-layers').hide(); + $('#' + initialMode + 'Layers').show(); + // 监听地址输入框变化,自动查询配置 $('#address').on('blur', function() { var address = $(this).val().trim();