perf: i18n settings-Storage done.

This commit is contained in:
Bai
2024-02-27 14:59:32 +08:00
parent 2595b8bc8e
commit 2d9b4ddd0b
3 changed files with 7 additions and 2 deletions

View File

@@ -44,6 +44,10 @@ export default {
permissions: {
resource: 'commandstorage'
},
columns: [
'id', 'name', 'type', 'comment', 'is_default', 'actions'
],
columnsExclude: ['meta'],
columnsShow: {
min: ['name', 'type', 'actions'],
default: ['name', 'type', 'comment', 'is_default', 'actions']

View File

@@ -30,7 +30,8 @@ export default {
}
},
fields: [
[this.$t('Basic'), ['name', 'type', 'meta', 'is_default', 'comment']]
[this.$t('Basic'), ['name', 'type', 'meta']],
[this.$t('Other'), ['is_default', 'comment']]
],
fieldsMeta: {
type: {

View File

@@ -36,7 +36,7 @@ export default {
},
columnsExclude: ['meta'],
columns: [
'name', 'type', 'comment', 'is_default', 'actions'
'id', 'name', 'type', 'comment', 'is_default', 'actions'
],
columnsShow: {
min: ['name', 'type', 'actions']