feat: 网站设置缓存表格提供一键清除与刷新按钮
This commit is contained in:
parent
45bf73114e
commit
95c963a4e5
src/admin/Bootstrap.Admin/Pages
|
@ -4,10 +4,8 @@ using Microsoft.AspNetCore.Components;
|
|||
using Microsoft.AspNetCore.Components.Forms;
|
||||
using Microsoft.JSInterop;
|
||||
using System;
|
||||
using System.Collections.Concurrent;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Bootstrap.Admin.Pages.Components
|
||||
{
|
||||
|
|
|
@ -193,7 +193,7 @@
|
|||
<span>网站缓存</span>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<Table Id="settings-cache" TItem="Longbow.Cache.ICacheItem" EditModel="ConsoleCaCheModel" OnQuery="QueryData">
|
||||
<Table Id="settings-cache" TItem="Longbow.Cache.ICacheItem" ShowToolBar="true" ShowRefresh="true" ShowExtendButtons="true" EditModel="ConsoleCaCheModel" OnQuery="QueryData">
|
||||
<TableHeader>
|
||||
<LgbTableHeader TItem="string" @bind-Value="@context.Desc"></LgbTableHeader>
|
||||
<LgbTableHeader TItem="int" @bind-Value="@context.Interval"></LgbTableHeader>
|
||||
|
|
Loading…
Reference in New Issue