fix: 修复关闭ssh后 仍然可以修改密钥

This commit is contained in:
feng626
2021-11-12 17:51:01 +08:00
committed by 怀磊
parent 63cde369fa
commit df088cc1b6

View File

@@ -121,6 +121,7 @@ export default {
title: this.$t('users.quickUpdate.resetSSHKey'),
attrs: {
type: 'primary',
disabled: !this.$store.state.users.profile.can_public_key_auth,
label: this.$t('users.quickUpdate.send')
},
callbacks: {