diff --git a/bigtop-manager-ui/src/locales/en_US/common.ts b/bigtop-manager-ui/src/locales/en_US/common.ts index 340925b3..588d4fcf 100644 --- a/bigtop-manager-ui/src/locales/en_US/common.ts +++ b/bigtop-manager-ui/src/locales/en_US/common.ts @@ -72,5 +72,6 @@ export default { 'Delete will not be recoverable, are you sure you want to delete {0} ?', no_options: 'No options', loadingText_verifying: 'Verifying', - enter_error: 'Enter {0}' + enter_error: 'Please enter {0}', + select_error: 'Please select {0}' } diff --git a/bigtop-manager-ui/src/locales/zh_CN/common.ts b/bigtop-manager-ui/src/locales/zh_CN/common.ts index 4831a32f..90695c2a 100644 --- a/bigtop-manager-ui/src/locales/zh_CN/common.ts +++ b/bigtop-manager-ui/src/locales/zh_CN/common.ts @@ -71,5 +71,6 @@ export default { delete_confirm_content: '删除后无法恢复,确定要删除 {0} 吗?', no_options: '暂无选项', loadingText_verifying: '校验中', - enter_error: '请输入{0}' + enter_error: '请输入{0}', + select_error: '请选择{0}' } diff --git a/bigtop-manager-ui/src/store/llm-config/config.ts b/bigtop-manager-ui/src/store/llm-config/config.ts index 69039b6c..e8ee24ce 100644 --- a/bigtop-manager-ui/src/store/llm-config/config.ts +++ b/bigtop-manager-ui/src/store/llm-config/config.ts @@ -60,7 +60,7 @@ export function useFormItemConfig() { rules: [ { required: true, - message: t('common.enter_error', [ + message: t('common.select_error', [ t('llmConfig.platform_name').toLowerCase() ]), trigger: 'blur' @@ -68,7 +68,7 @@ export function useFormItemConfig() { ] }, controlProps: { - placeholder: t('common.enter_error', [ + placeholder: t('common.select_error', [ t('llmConfig.platform_name').toLowerCase() ]) } @@ -82,7 +82,7 @@ export function useFormItemConfig() { rules: [ { required: true, - message: t('common.enter_error', [ + message: t('common.select_error', [ t('llmConfig.model').toLowerCase() ]), trigger: 'blur' @@ -90,7 +90,7 @@ export function useFormItemConfig() { ] }, controlProps: { - placeholder: t('common.enter_error', [ + placeholder: t('common.select_error', [ t('llmConfig.model').toLowerCase() ]) }