🎨 用户在线状态展示
🎨 用户在线状态展示
This commit is contained in:
parent
2109475ffa
commit
d4c820c3b7
@ -53,6 +53,14 @@
|
|||||||
label="最后在线时间"
|
label="最后在线时间"
|
||||||
width="180"
|
width="180"
|
||||||
prop="lastOnlineTime">
|
prop="lastOnlineTime">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span v-if="scope.row.onlineStatus === 0">
|
||||||
|
{{ scope.row.lastOnlineTime }}
|
||||||
|
</span>
|
||||||
|
<el-tag type="success" disable-transitions>
|
||||||
|
Online now
|
||||||
|
</el-tag>
|
||||||
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
label="状态"
|
label="状态"
|
||||||
|
Loading…
Reference in New Issue
Block a user