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 6, 2024
1 parent 33ce0ea commit 8514ee9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,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 8514ee9

Please sign in to comment.