mirror of
https://github.com/jumpserver/lina.git
synced 2026-01-13 19:35:24 +00:00
perf: 优化 Session 支持 duration 字段
This commit is contained in:
@@ -4,7 +4,6 @@
|
||||
|
||||
<script type="text/jsx">
|
||||
import ListTable from '@/components/Table/ListTable'
|
||||
import { timeOffset } from '@/utils/common'
|
||||
import { ActionsFormatter, DetailFormatter } from '@/components/Table/TableFormatters'
|
||||
|
||||
export default {
|
||||
@@ -133,10 +132,6 @@ export default {
|
||||
width: '150px'
|
||||
},
|
||||
duration: {
|
||||
label: this.$t('sessions.duration'),
|
||||
formatter: function(row) {
|
||||
return timeOffset(row.date_start, row.date_end)
|
||||
},
|
||||
width: '80px'
|
||||
},
|
||||
is_locked: {
|
||||
|
||||
Reference in New Issue
Block a user