perf: window资产密文类型不是密码时不能设置推送参数

This commit is contained in:
“huailei000”
2023-12-20 19:37:03 +08:00
committed by huailei
parent 6c24c9a2d9
commit 6ac31b05e5

View File

@@ -234,6 +234,7 @@ export default {
return !formValue.push_now ||
!automation.push_account_enabled ||
!automation.ansible_enabled ||
(formValue.secret_type === 'ssh_key' && this.iPlatform.type.value === 'windows') ||
!this.$hasPerm('accounts.push_account') ||
this.addTemplate
}