Skip to content

Commit

Permalink
fix(frontend): 账号创建不允许特殊账号名 TencentBlueKing#8162
Browse files Browse the repository at this point in the history
  • Loading branch information
3octaves committed Dec 4, 2024
1 parent 0179287 commit 4c4733f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@
validValue = props.accountType === AccountTypes.MONGODB ? value.split('.')[1] : value;
return !specialAccountMap[props.accountType].includes(validValue);
},
message: t('不允许使用特殊账号名称n', { n: validValue }),
message: () => t('不允许使用特殊账号名称n', { n: validValue }),
},
],
password: [
Expand Down

0 comments on commit 4c4733f

Please sign in to comment.