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();