修复日志查询 301 和日志详细信息用户前面的 attention 图标

pull/1/head
Doflatango 8 years ago committed by miraclesu
parent c4fa959ac6
commit 7fae9ad316

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -125,7 +125,7 @@ export default {
fetchList(query){ fetchList(query){
this.loading = true; this.loading = true;
var vm = this; var vm = this;
this.$rest.GET('/logs?'+query) this.$rest.GET('logs?'+query)
.onsucceed(200, (resp)=>{ .onsucceed(200, (resp)=>{
vm.list = resp.list; vm.list = resp.list;
vm.total = resp.total; vm.total = resp.total;

@ -11,7 +11,7 @@
<p>节点{{log.node}}</p> <p>节点{{log.node}}</p>
</div> </div>
<div class="ui segment"> <div class="ui segment">
<p>用户<i class="attention warning icon" if="log.user=='root' || log.user == ''"></i> {{log.user}}</p> <p>用户<i class="attention warning icon" v-if="log.user == 'root' || log.user == ''"></i> {{log.user}}</p>
</div> </div>
<div class="ui segment"> <div class="ui segment">
<p>时间{{log.beginTime}} {{log.endTime}}</p> <p>时间{{log.beginTime}} {{log.endTime}}</p>

Loading…
Cancel
Save