mirror of
https://github.com/jumpserver/lina.git
synced 2025-09-01 06:58:01 +00:00
feat: 历史账号定期删除 可设置保留数量
This commit is contained in:
@@ -60,8 +60,8 @@ export default {
|
|||||||
],
|
],
|
||||||
encryptedFields: ['VAULT_HCP_TOKEN'],
|
encryptedFields: ['VAULT_HCP_TOKEN'],
|
||||||
fields: [
|
fields: [
|
||||||
[
|
[this.$t('common.Basic'), ['HISTORY_ACCOUNT_CLEAN_LIMIT']],
|
||||||
this.$t('setting.AccountStorage'),
|
[this.$t('setting.AccountStorage'),
|
||||||
[
|
[
|
||||||
'VAULT_ENABLED',
|
'VAULT_ENABLED',
|
||||||
'VAULT_HCP_HOST',
|
'VAULT_HCP_HOST',
|
||||||
@@ -71,6 +71,11 @@ export default {
|
|||||||
]
|
]
|
||||||
],
|
],
|
||||||
fieldsMeta: {
|
fieldsMeta: {
|
||||||
|
HISTORY_ACCOUNT_CLEAN_LIMIT: {
|
||||||
|
el: {
|
||||||
|
autocomplete: 'new-password'
|
||||||
|
}
|
||||||
|
},
|
||||||
VAULT_ENABLED: {
|
VAULT_ENABLED: {
|
||||||
disabled: true,
|
disabled: true,
|
||||||
label: this.$t('setting.EnableVaultStorage')
|
label: this.$t('setting.EnableVaultStorage')
|
||||||
|
@@ -38,7 +38,7 @@ export default {
|
|||||||
{
|
{
|
||||||
title: this.$t('setting.AccountStorage'),
|
title: this.$t('setting.AccountStorage'),
|
||||||
name: 'Vault',
|
name: 'Vault',
|
||||||
hidden: !this.$hasPerm('settings.change_vault') || !this.$store.getters.hasValidLicense
|
hidden: !this.$store.getters.hasValidLicense
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('setting.ChatAI'),
|
title: this.$t('setting.ChatAI'),
|
||||||
|
Reference in New Issue
Block a user