feat: 网站设置缓存表格提供一键清除与刷新按钮

This commit is contained in:
Argo Zhang 2020-02-05 13:25:05 +08:00
parent 45bf73114e
commit 95c963a4e5
No known key found for this signature in database
GPG Key ID: 152E398953DDF19F
2 changed files with 1 additions and 3 deletions
src/admin/Bootstrap.Admin/Pages
Components
Views/Admin

View File

@ -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
{

View File

@ -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>