Skip to content

Commit

Permalink
fix(frontend): mongo验收问题修复 TencentBlueKing#6052
Browse files Browse the repository at this point in the history
  • Loading branch information
3octaves committed Oct 31, 2024
1 parent 7200a2e commit 55ab1dd
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
v-model="formData.details.node_count"
clearable
:max="11"
:min="3"
:min="1"
show-clear-only-hover
:step="2"
style="width: 185px"
Expand Down Expand Up @@ -269,9 +269,9 @@
const rules = {
'details.node_count': [
{
message: t('节点数目前只支持xxx', ['3, 5, 7, 9, 11']),
message: t('节点数目前只支持xxx', ['1, 3, 5, 7, 9, 11']),
trigger: 'change',
validator: (val: number) => [3, 5, 7, 9, 11].includes(val),
validator: (val: number) => [1, 3, 5, 7, 9, 11].includes(val),
},
],
};
Expand Down

0 comments on commit 55ab1dd

Please sign in to comment.