Skip to content

Commit

Permalink
fix: 节点池编辑时不校验安全组 (merge request !1624)
Browse files Browse the repository at this point in the history
Squash merge branch 'fix_2_2' into 'master'
fix: 节点池编辑时不校验安全组
  • Loading branch information
hitozhang committed Feb 2, 2024
1 parent 9996087 commit dbf272d
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -467,6 +467,8 @@ export default defineComponent({
message: $i18n.t('generic.validate.fieldRequired', [defaultSecurityGroupName]),
trigger: 'blur',
validator: () => {
if (isEdit.value) return true;

const defaultSecurityGroup = securityGroupsList.value
.find(item => item.securityGroupName === defaultSecurityGroupName);

Expand Down

0 comments on commit dbf272d

Please sign in to comment.