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"> <thead class="table-dark">
<tr> <tr>
<th>日志层</th> <th>日志层</th>
<th>级别</th>
<th>过滤器</th> <th>过滤器</th>
<th>级别</th>
<th>最大大小</th> <th>最大大小</th>
<th>包含负载</th> <th>包含负载</th>
</tr> </tr>
@ -278,10 +278,10 @@
<tr> <tr>
<td><strong>@layer</strong></td> <td><strong>@layer</strong></td>
<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) @foreach (var logLevel in LTEMvcApp.Models.LogLayerTypes.LogLevels)
{ {
if (logLevel == config.Level) if (logLevel == config.Filter)
{ {
<option value="@logLevel" selected>@logLevel.ToUpper()</option> <option value="@logLevel" selected>@logLevel.ToUpper()</option>
} }
@ -293,10 +293,10 @@
</select> </select>
</td> </td>
<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) @foreach (var logLevel in LTEMvcApp.Models.LogLayerTypes.LogLevels)
{ {
if (logLevel == config.Filter) if (logLevel == config.Level)
{ {
<option value="@logLevel" selected>@logLevel.ToUpper()</option> <option value="@logLevel" selected>@logLevel.ToUpper()</option>
} }

Loading…
Cancel
Save