Browse Source

111

feature/LteClientLogFun
root 1 month ago
parent
commit
35d536df81
  1. 10
      LTEMvcApp/Views/Home/TestClientConfig.cshtml

10
LTEMvcApp/Views/Home/TestClientConfig.cshtml

@ -265,8 +265,8 @@
<thead class="table-dark">
<tr>
<th>日志层</th>
<th>级别</th>
<th>过滤器</th>
<th>级别</th>
<th>最大大小</th>
<th>包含负载</th>
</tr>
@ -278,10 +278,10 @@
<tr>
<td><strong>@layer</strong></td>
<td>
<select class="form-control form-control-sm" name="layers[@layer][level]">
<select class="form-control form-control-sm" name="layers[@layer][filter]">
@foreach (var logLevel in LTEMvcApp.Models.LogLayerTypes.LogLevels)
{
if (logLevel == config.Level)
if (logLevel == config.Filter)
{
<option value="@logLevel" selected>@logLevel.ToUpper()</option>
}
@ -293,10 +293,10 @@
</select>
</td>
<td>
<select class="form-control form-control-sm" name="layers[@layer][filter]">
<select class="form-control form-control-sm" name="layers[@layer][level]">
@foreach (var logLevel in LTEMvcApp.Models.LogLayerTypes.LogLevels)
{
if (logLevel == config.Filter)
if (logLevel == config.Level)
{
<option value="@logLevel" selected>@logLevel.ToUpper()</option>
}

Loading…
Cancel
Save