refactor(图表): 图表字段名称限制增加到200 #15980

This commit is contained in:
wisonic-s
2025-04-29 14:31:38 +08:00
committed by GitHub
parent 724d8828f0
commit c374fa1d93
4 changed files with 7 additions and 4 deletions

View File

@@ -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'

View File

@@ -2715,7 +2715,8 @@ export default {
no_children_text: '沒有子節點',
no_options_text: '沒有可用選項',
no_results_text: '沒有符合的結果'
}
},
char_count_limit: '不能超過{count}字元'
},
sql_variable: {
variable_mgm: '參數設定'

View File

@@ -2721,7 +2721,8 @@ export default {
no_children_text: '没有子节点',
no_options_text: '没有可用选项',
no_results_text: '没有匹配的结果'
}
},
char_count_limit: '不能超过{count}字符'
},
sql_variable: {
variable_mgm: '参数设置'

View File

@@ -211,7 +211,7 @@ const isDataEaseBi = computed(() => appStore.getIsDataEaseBi || appStore.getIsIf
const itemFormRules = reactive<FormRules>({
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' }
]
})