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