Browse Source

分身乏术

feature/MultiClientLog
root 1 month ago
parent
commit
5a57bcfb68
  1. 4
      LTEMvcApp/Views/Home/TestClientConfig.cshtml

4
LTEMvcApp/Views/Home/TestClientConfig.cshtml

@ -406,8 +406,9 @@
});
// 监听模式切换
$('input[name="mode"]').on('change', function() {
$(document).on('change', 'input[name="mode"]', function() {
var selectedMode = $(this).val();
console.log('模式切换:', selectedMode);
$('.mode-layers').hide();
$('#' + selectedMode + 'Layers').show();
});
@ -416,6 +417,7 @@
var initialMode = $('input[name="mode"]:checked').val();
$('.mode-layers').hide();
$('#' + initialMode + 'Layers').show();
$('input[name="mode"]:checked').trigger('change');
// 监听地址输入框变化,自动查询配置
$('#address').on('blur', function() {

Loading…
Cancel
Save