refactor: 移除不使用的 Table @ref

This commit is contained in:
Argo Zhang 2020-02-01 16:27:10 +08:00
parent e8b39af55f
commit eb47622725
No known key found for this signature in database
GPG Key ID: 152E398953DDF19F
2 changed files with 1 additions and 6 deletions

View File

@ -195,7 +195,7 @@
</div>
</div>
<div class="card-body">
<Table @ref="Table" Id="settings-cache" TItem="Longbow.Cache.ICacheItem" EditModel="ConsoleCaCheModel" OnDataSourceQuery="QueryData">
<Table Id="settings-cache" TItem="Longbow.Cache.ICacheItem" EditModel="ConsoleCaCheModel" OnDataSourceQuery="QueryData">
<TableHeader>
<LgbTableHeader TItem="string" @bind-Value="@context.Desc"></LgbTableHeader>
<LgbTableHeader TItem="int" @bind-Value="@context.Interval"></LgbTableHeader>

View File

@ -37,11 +37,6 @@ namespace Bootstrap.Admin.Pages.Views.Admin.Components
[CascadingParameter(Name = "Default")]
public DefaultLayout? RootLayout { get; protected set; }
/// <summary>
/// 获得/设置 Table 实例
/// </summary>
protected Table<ICacheItem>? Table { get; set; }
/// <summary>
/// Toast 组件实例
/// </summary>