perf: change secret

This commit is contained in:
feng 2022-11-11 16:39:11 +08:00
parent 9ec45a889f
commit fc08f54394

View File

@ -17,7 +17,7 @@ function getAssetPasswordRulesItems() {
prop: 'length',
label: i18n.t('xpack.ChangeAuthPlan.PasswordLength'),
rules: [Required],
hidden: ({ secret_strategy, secret_type }) => (secret_strategy !== 'specific' || secret_type !== 'password')
hidden: ({ secret_strategy, secret_type }) => (secret_strategy === 'specific' || secret_type !== 'password')
}
]
}