展示访客时间

pull/30/head
taoshihan1991 4 years ago
parent cd7cde2b4b
commit 56ed90fc82

@ -159,6 +159,10 @@
<i class="el-icon-s-tools"></i>
<span slot="title">城市:<{visitor.city}></span>
</el-menu-item>
<el-menu-item>
<i class="el-icon-s-tools"></i>
<span slot="title">时间:<{visitor.created_at}></span>
</el-menu-item>
<el-menu-item>
<i class="el-icon-s-tools"></i>
<span slot="title">状态:<{visitor.status}></span>
@ -199,6 +203,7 @@
city:"",
status:"",
source_ip:"",
created_at:"",
},
visitors:[],
visitorCount:0,
@ -486,6 +491,7 @@
success: function(data) {
if(data.result!=null){
let r=data.result;
_this.visitor.created_at=r.created_at;
_this.visitor.refer=r.refer;
_this.visitor.city=r.city;
_this.visitor.client_ip=r.client_ip;

Loading…
Cancel
Save