diff --git a/core/core-frontend/src/locales/en.ts b/core/core-frontend/src/locales/en.ts index a49303a5ea..39beb675c9 100644 --- a/core/core-frontend/src/locales/en.ts +++ b/core/core-frontend/src/locales/en.ts @@ -2785,7 +2785,8 @@ export default { no_children_text: 'No child nodes', no_options_text: 'No available options', no_results_text: 'No matching results' - } + }, + char_count_limit: 'Cannot exceed {count} characters' }, sql_variable: { variable_mgm: 'Parameter settings' diff --git a/core/core-frontend/src/locales/tw.ts b/core/core-frontend/src/locales/tw.ts index 635f4044c2..e37783d603 100644 --- a/core/core-frontend/src/locales/tw.ts +++ b/core/core-frontend/src/locales/tw.ts @@ -2715,7 +2715,8 @@ export default { no_children_text: '沒有子節點', no_options_text: '沒有可用選項', no_results_text: '沒有符合的結果' - } + }, + char_count_limit: '不能超過{count}字元' }, sql_variable: { variable_mgm: '參數設定' diff --git a/core/core-frontend/src/locales/zh-CN.ts b/core/core-frontend/src/locales/zh-CN.ts index 81c4d71286..377f195524 100644 --- a/core/core-frontend/src/locales/zh-CN.ts +++ b/core/core-frontend/src/locales/zh-CN.ts @@ -2721,7 +2721,8 @@ export default { no_children_text: '没有子节点', no_options_text: '没有可用选项', no_results_text: '没有匹配的结果' - } + }, + char_count_limit: '不能超过{count}字符' }, sql_variable: { variable_mgm: '参数设置' diff --git a/core/core-frontend/src/views/chart/components/editor/index.vue b/core/core-frontend/src/views/chart/components/editor/index.vue index 4d160e5488..5cd89adecb 100644 --- a/core/core-frontend/src/views/chart/components/editor/index.vue +++ b/core/core-frontend/src/views/chart/components/editor/index.vue @@ -211,7 +211,7 @@ const isDataEaseBi = computed(() => appStore.getIsDataEaseBi || appStore.getIsIf const itemFormRules = reactive({ chartShowName: [ { required: true, message: t('commons.input_content'), trigger: 'change' }, - { max: 50, message: t('commons.char_can_not_more_50'), trigger: 'change' } + { max: 200, message: t('commons.char_count_limit', { count: 200 }), trigger: 'change' } ] })