Browse Source

大苏打

feature/MultiClientLog
root 1 month ago
parent
commit
89c84df317
  1. 7
      LTEMvcApp/Views/Home/TestClientConfig.cshtml

7
LTEMvcApp/Views/Home/TestClientConfig.cshtml

@ -252,7 +252,7 @@
<label class="form-check-label" for="readonly">只读模式</label>
</div>
<div class="form-check form-check-inline mr-3">
<input type="radio" class="form-check-input" id="mode_ran" name="mode" value="ran" @(testConfig?.Mode == "ran" ? "checked" : "checked")>
<input type="radio" class="form-check-input" id="mode_ran" name="mode" value="ran" @(testConfig?.Mode == "ran" ? "checked" : "")>
<label class="form-check-label" for="mode_ran">RAN</label>
</div>
<div class="form-check form-check-inline">
@ -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();

Loading…
Cancel
Save