fix: session is_locked show value

This commit is contained in:
wangruidong
2024-09-18 10:19:41 +08:00
committed by 老广
parent e343e0df9d
commit 8545fc6136

View File

@@ -5,7 +5,7 @@
<script type="text/jsx">
import ListTable from '@/components/Table/ListTable'
import { timeOffset } from '@/utils/time'
import { ActionsFormatter, DetailFormatter } from '@/components/Table/TableFormatters'
import { ActionsFormatter, ChoicesFormatter, DetailFormatter } from '@/components/Table/TableFormatters'
export default {
name: 'BaseList',
@@ -119,7 +119,11 @@ export default {
}
},
is_locked: {
label: this.$t('IsLocked')
label: this.$t('IsLocked'),
formatter: ChoicesFormatter,
formatterArgs: {
showFalse: true
}
},
actions: {
prop: 'actions',