diff --git a/dbm-ui/frontend/src/views/db-manage/common/permission/components/common/AccountCreate.vue b/dbm-ui/frontend/src/views/db-manage/common/permission/components/common/AccountCreate.vue index 8609f8e8a1..c7408d71d2 100644 --- a/dbm-ui/frontend/src/views/db-manage/common/permission/components/common/AccountCreate.vue +++ b/dbm-ui/frontend/src/views/db-manage/common/permission/components/common/AccountCreate.vue @@ -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: [