fix: 新增数据源 字符限制提示

This commit is contained in:
dataeaseShu 2022-10-08 18:09:44 +08:00
parent a0a6eaa06e
commit 28e979352b
4 changed files with 6 additions and 3 deletions

View File

@ -1716,6 +1716,7 @@ export default {
input_name: 'Please input name',
input_limit_2_25: '2-25 chars',
input_limit_2_50: '2-50 chars',
input_limit: '{num} chars',
oracle_connection_type: 'Service Name/SID',
oracle_sid: 'SID',
oracle_service_name: 'Service Name',

View File

@ -1716,6 +1716,7 @@ export default {
input_name: '請輸入名稱',
input_limit_2_25: '2-25字符',
input_limit_2_50: '2-50字符',
input_limit: '{num}字符',
oracle_connection_type: '服務名/SID',
oracle_sid: 'SID',
oracle_service_name: '服務名',

View File

@ -1715,6 +1715,7 @@ export default {
input_name: '请输入名称',
input_limit_2_25: '2-25字符',
input_limit_2_50: '2-50字符',
input_limit: '{num}字符',
oracle_connection_type: '服务名/SID',
oracle_sid: 'SID',
oracle_service_name: '服务名',

View File

@ -204,9 +204,9 @@ export default {
],
desc: [
{
min: 2,
max: 50,
message: i18n.t('datasource.input_limit_2_50'),
min: 0,
max: 200,
message: i18n.t('datasource.input_limit', { num: '0~200' }),
trigger: 'blur'
}
],