Skip to content

Commit

Permalink
fix(frontend): 账号创建不允许特殊账号名 #8162
Browse files Browse the repository at this point in the history
  • Loading branch information
3octaves authored and hLinx committed Dec 9, 2024
1 parent 6059373 commit c1a512f
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 c1a512f

Please sign in to comment.