增加操作日志查看界面

This commit is contained in:
GoEdgeLab
2020-11-10 20:30:47 +08:00
parent 32f8ba02b6
commit d088e88e58
13 changed files with 101 additions and 47 deletions

View File

@@ -1,3 +1,14 @@
{$layout}
<p class="ui message">此功能暂未开放,敬请期待</p>
<p class="comment" v-if="logs.length == 0">暂时还没有日志</p>
<table class="ui table selectable" v-for="log in logs">
<tr>
<td>{{log.createdTime}} <span v-if="log.userName.length > 0">@ {{log.userName}}</span> @ {{log.ip}}</td>
</tr>
<tr>
<td>{{log.description}}</td>
</tr>
</table>
<div class="page" v-html="page"></div>