mirror of
https://gitee.com/pan648540858/wvp-GB28181-pro.git
synced 2026-05-23 13:37:49 +08:00
心跳历史展示为从新到旧
This commit is contained in:
parent
7dea67b472
commit
83057d81d8
@ -28,7 +28,7 @@
|
|||||||
|
|
||||||
<el-table
|
<el-table
|
||||||
v-if="viewMode === 'table'"
|
v-if="viewMode === 'table'"
|
||||||
:data="list"
|
:data="tableData"
|
||||||
border
|
border
|
||||||
stripe
|
stripe
|
||||||
size="mini"
|
size="mini"
|
||||||
@ -109,6 +109,9 @@ export default {
|
|||||||
rows: this.list
|
rows: this.list
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
tableData() {
|
||||||
|
return this.list.slice().reverse();
|
||||||
|
},
|
||||||
timeDiffDelta() {
|
timeDiffDelta() {
|
||||||
if (!this.list.length) return 0
|
if (!this.list.length) return 0
|
||||||
const nums = this.list
|
const nums = this.list
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user