可以在运行日志页面中删除使用关键词匹配的运行日志

This commit is contained in:
GoEdgeLab
2023-03-09 16:20:09 +08:00
parent 0b091b4229
commit 260aa555a9
8 changed files with 107 additions and 2 deletions

View File

@@ -68,6 +68,10 @@
<p class="comment" v-if="logs.length == 0">暂时还没有<span v-if="type == 'unread'">未读</span><span v-if="type == 'needFix'">需修复</span>日志。</p>
<div v-if="countLogs > 0 && searchedKeyword.length > 0" class="search-keyword-label">
<div class="ui label basic small">正在搜索关键词"{{searchedKeyword}}",共{{countLogs}}条记录 &nbsp; <a href="" @click.prevent="deleteLogs"><span class="small">[清除日志]</span></a> </div>
</div>
<table class="ui table selectable celled" v-if="logs.length > 0">
<thead>
<tr>