diff --git a/dolphinscheduler-ui/src/locales/en_US/crontab.ts b/dolphinscheduler-ui/src/locales/en_US/crontab.ts index 0bc96147b716b2df6a8e01fb7d131b14a18f0a4c..e14817a207b0ac86bacb48af9f9ed9205a958b76 100644 --- a/dolphinscheduler-ui/src/locales/en_US/crontab.ts +++ b/dolphinscheduler-ui/src/locales/en_US/crontab.ts @@ -75,4 +75,4 @@ export default { specific_year_tip: 'Please enter a year', one_hour: 'hour', one_day: 'day' -} \ No newline at end of file +} diff --git a/dolphinscheduler-ui/src/locales/en_US/data-quality.ts b/dolphinscheduler-ui/src/locales/en_US/data-quality.ts index c01556cefe80aa9f15378015ee99a9db55522eec..7df4180a644c9a0c49544a68407bfbffc808cc8f 100644 --- a/dolphinscheduler-ui/src/locales/en_US/data-quality.ts +++ b/dolphinscheduler-ui/src/locales/en_US/data-quality.ts @@ -109,4 +109,4 @@ export default { SrcTableTotalRows: 'SrcTableTotalRows', TargetTableTotalRows: 'TargetTableTotalRows' } -} \ No newline at end of file +} diff --git a/dolphinscheduler-ui/src/locales/en_US/datasource.ts b/dolphinscheduler-ui/src/locales/en_US/datasource.ts index a6a34a78b3a56cc411dab61a9eba7d3c832b8590..681bce904ebd01f331e213d127073d4f6af51b39 100644 --- a/dolphinscheduler-ui/src/locales/en_US/datasource.ts +++ b/dolphinscheduler-ui/src/locales/en_US/datasource.ts @@ -63,4 +63,4 @@ export default { user_password: 'Password', user_password_tips: 'Please enter your password', jdbc_format_tips: 'jdbc connection parameters is not a correct JSON format' -} \ No newline at end of file +} diff --git a/dolphinscheduler-ui/src/locales/en_US/home.ts b/dolphinscheduler-ui/src/locales/en_US/home.ts index 6f4ec60bada4f701a495b6a21f839107fe9d110c..55edce32ed0658850e4a3b3ff6a40d5b32dd5f7a 100644 --- a/dolphinscheduler-ui/src/locales/en_US/home.ts +++ b/dolphinscheduler-ui/src/locales/en_US/home.ts @@ -39,4 +39,4 @@ export default { dispatch: 'DISPATCH', ready_block: 'READY_BLOCK', block: 'BLOCK' -} \ No newline at end of file +} diff --git a/dolphinscheduler-ui/src/locales/en_US/login.ts b/dolphinscheduler-ui/src/locales/en_US/login.ts index 27763973042591d9b892b672da770a9cd0e3f162..d72af8f6fcc2d5621f9597197a042085b9c57592 100644 --- a/dolphinscheduler-ui/src/locales/en_US/login.ts +++ b/dolphinscheduler-ui/src/locales/en_US/login.ts @@ -22,4 +22,4 @@ export default { userPassword: 'Password', userPassword_tips: 'Please enter your password', login: 'Login' -} \ No newline at end of file +} diff --git a/dolphinscheduler-ui/src/locales/en_US/menu.ts b/dolphinscheduler-ui/src/locales/en_US/menu.ts index ab95e43df579f5050a319d0c3003f31bf15cefe2..a731f7b8ac3ca08760dbc8846e2cd1951b47bc15 100644 --- a/dolphinscheduler-ui/src/locales/en_US/menu.ts +++ b/dolphinscheduler-ui/src/locales/en_US/menu.ts @@ -56,4 +56,4 @@ export default { data_quality: 'Data Quality', task_result: 'Task Result', rule: 'Rule management' -} \ No newline at end of file +} diff --git a/dolphinscheduler-ui/src/locales/en_US/modal.ts b/dolphinscheduler-ui/src/locales/en_US/modal.ts index f81fa9a7a479fd1c0ef77f140e784015a749f204..3c17d1dd480b76d852ad1327713580e7bf1bc017 100644 --- a/dolphinscheduler-ui/src/locales/en_US/modal.ts +++ b/dolphinscheduler-ui/src/locales/en_US/modal.ts @@ -18,4 +18,4 @@ export default { cancel: 'Cancel', confirm: 'Confirm' -} \ No newline at end of file +} diff --git a/dolphinscheduler-ui/src/locales/en_US/monitor.ts b/dolphinscheduler-ui/src/locales/en_US/monitor.ts index 85d2f13834c1782cfaa4cb8fb09b7239da020bc9..2b9102f20e733cb79f7902ad1d2734ed245f5082 100644 --- a/dolphinscheduler-ui/src/locales/en_US/monitor.ts +++ b/dolphinscheduler-ui/src/locales/en_US/monitor.ts @@ -71,4 +71,4 @@ export default { delete: 'Delete', read: 'Read' } -} \ No newline at end of file +} diff --git a/dolphinscheduler-ui/src/locales/en_US/password.ts b/dolphinscheduler-ui/src/locales/en_US/password.ts index 870b787dc329e451d5e4f060e24a4c5cbb720ae7..a9cde2c18c9af4a47eca2c902af3ff495da642ac 100644 --- a/dolphinscheduler-ui/src/locales/en_US/password.ts +++ b/dolphinscheduler-ui/src/locales/en_US/password.ts @@ -24,4 +24,4 @@ export default { two_password_entries_are_inconsistent: 'Two password entries are inconsistent', submit: 'Submit' -} \ No newline at end of file +} diff --git a/dolphinscheduler-ui/src/locales/en_US/profile.ts b/dolphinscheduler-ui/src/locales/en_US/profile.ts index 08d048019f7effc49a1518bfe6a82d1298bf60ad..bffdb0cc7d6a2839926f32e9db62346d567a4992 100644 --- a/dolphinscheduler-ui/src/locales/en_US/profile.ts +++ b/dolphinscheduler-ui/src/locales/en_US/profile.ts @@ -37,4 +37,4 @@ export default { disable: 'Disable', timezone_success: 'Time zone updated successful', please_select_timezone: 'Choose timeZone' -} \ No newline at end of file +} diff --git a/dolphinscheduler-ui/src/locales/en_US/project.ts b/dolphinscheduler-ui/src/locales/en_US/project.ts index d0e7aa2bd75dc0c303aae62388f0042902de0f05..993b00442a2cc60e2dac9ef6fb4af66d83306950 100644 --- a/dolphinscheduler-ui/src/locales/en_US/project.ts +++ b/dolphinscheduler-ui/src/locales/en_US/project.ts @@ -686,8 +686,10 @@ export default { please_select_source_datasource_id: 'Please select source datasource id', please_enter_source_table_name: 'Please select source table name', please_enter_filter_expression: 'Please enter filter expression', - please_enter_column_only_single_column_is_supported: 'Please select column, only single column is supported', - please_enter_threshold_number_is_needed: 'Please enter threshold number is needed', + please_enter_column_only_single_column_is_supported: + 'Please select column, only single column is supported', + please_enter_threshold_number_is_needed: + 'Please enter threshold number is needed', please_enter_comparison_title: 'please select comparison title' } -} \ No newline at end of file +} diff --git a/dolphinscheduler-ui/src/locales/en_US/resource.ts b/dolphinscheduler-ui/src/locales/en_US/resource.ts index 1e5651d19eb9f24972d5fb977eec2bb150b39141..45e2d16c7f4fd9eb55436a785aac314aecb61b62 100644 --- a/dolphinscheduler-ui/src/locales/en_US/resource.ts +++ b/dolphinscheduler-ui/src/locales/en_US/resource.ts @@ -167,4 +167,4 @@ export default { update_time: 'Update time', edit_priority: 'Edit the task priority' } -} \ No newline at end of file +} diff --git a/dolphinscheduler-ui/src/locales/en_US/security.ts b/dolphinscheduler-ui/src/locales/en_US/security.ts index 0f3ec1f163970ee6aca8dd4fd9b0951c6003cc45..19b82f666596fb3f502f141aa7f183168525fd02 100644 --- a/dolphinscheduler-ui/src/locales/en_US/security.ts +++ b/dolphinscheduler-ui/src/locales/en_US/security.ts @@ -262,4 +262,4 @@ export default { delete: 'Delete', delete_confirm: 'Delete?' } -} \ No newline at end of file +} diff --git a/dolphinscheduler-ui/src/locales/en_US/theme.ts b/dolphinscheduler-ui/src/locales/en_US/theme.ts index 5281a2f2d7af77f3afb72556ed668dfdc71c0efc..66ea07d56044941093f04666dbbb6f1a8639f011 100644 --- a/dolphinscheduler-ui/src/locales/en_US/theme.ts +++ b/dolphinscheduler-ui/src/locales/en_US/theme.ts @@ -18,4 +18,4 @@ export default { light: 'Light', dark: 'Dark' -} \ No newline at end of file +} diff --git a/dolphinscheduler-ui/src/locales/en_US/user-dropdown.ts b/dolphinscheduler-ui/src/locales/en_US/user-dropdown.ts index 4bcf593f14a02cff61664cad5f4cbd443a946d71..c356b7f5de9d57152dabba25ce93bdc6e9c38858 100644 --- a/dolphinscheduler-ui/src/locales/en_US/user-dropdown.ts +++ b/dolphinscheduler-ui/src/locales/en_US/user-dropdown.ts @@ -19,4 +19,4 @@ export default { profile: 'Profile', password: 'Password', logout: 'Logout' -} \ No newline at end of file +} diff --git a/dolphinscheduler-ui/src/locales/zh_CN/crontab.ts b/dolphinscheduler-ui/src/locales/zh_CN/crontab.ts index 607cd30a7127fb1e4ff0c6a71ab95e65cc373661..8a5a9615869dc1b9a65f2cd621f9c92b632c71fd 100644 --- a/dolphinscheduler-ui/src/locales/zh_CN/crontab.ts +++ b/dolphinscheduler-ui/src/locales/zh_CN/crontab.ts @@ -74,4 +74,4 @@ export default { specific_year_tip: '请选择具体年数', one_hour: '小时', one_day: '日' -} \ No newline at end of file +} diff --git a/dolphinscheduler-ui/src/locales/zh_CN/data-quality.ts b/dolphinscheduler-ui/src/locales/zh_CN/data-quality.ts index ca1bbc843e92de9b79aa580469a20bb9f020caaa..0593cfbe4284939479f8699bbbf1592de17cba78 100644 --- a/dolphinscheduler-ui/src/locales/zh_CN/data-quality.ts +++ b/dolphinscheduler-ui/src/locales/zh_CN/data-quality.ts @@ -108,4 +108,4 @@ export default { SrcTableTotalRows: '源表总行数', TargetTableTotalRows: '目标表总行数' } -} \ No newline at end of file +} diff --git a/dolphinscheduler-ui/src/locales/zh_CN/datasource.ts b/dolphinscheduler-ui/src/locales/zh_CN/datasource.ts index 105b04a13ae30983888b8fb59f3abf3cf93df40d..8eaba984a84f5ce53c02df7b7b28ddf776b0b3d1 100644 --- a/dolphinscheduler-ui/src/locales/zh_CN/datasource.ts +++ b/dolphinscheduler-ui/src/locales/zh_CN/datasource.ts @@ -60,4 +60,4 @@ export default { user_password: '密码', user_password_tips: '请输入密码', jdbc_format_tips: 'jdbc连接参数不是一个正确的JSON格式' -} \ No newline at end of file +} diff --git a/dolphinscheduler-ui/src/locales/zh_CN/home.ts b/dolphinscheduler-ui/src/locales/zh_CN/home.ts index 399215dfc2b103615fe744a210815e4d6cc5c2b5..25e4c33184dde3166b1eb9376d3dd90bd146c70f 100644 --- a/dolphinscheduler-ui/src/locales/zh_CN/home.ts +++ b/dolphinscheduler-ui/src/locales/zh_CN/home.ts @@ -39,4 +39,4 @@ export default { dispatch: '派发', ready_block: '准备阻断', block: '阻断' -} \ No newline at end of file +} diff --git a/dolphinscheduler-ui/src/locales/zh_CN/login.ts b/dolphinscheduler-ui/src/locales/zh_CN/login.ts index 656af405106768f7881ee8e57c25622f8ea79903..90c679060d763be2d8d73d3f8b5ce173748585ae 100644 --- a/dolphinscheduler-ui/src/locales/zh_CN/login.ts +++ b/dolphinscheduler-ui/src/locales/zh_CN/login.ts @@ -22,4 +22,4 @@ export default { userPassword: '密码', userPassword_tips: '请输入密码', login: '登录' -} \ No newline at end of file +} diff --git a/dolphinscheduler-ui/src/locales/zh_CN/menu.ts b/dolphinscheduler-ui/src/locales/zh_CN/menu.ts index 59e9420b0c806bf346cf10c7392e9620242dd10b..f5395beb5463abac67f9b009957de562cc36b87d 100644 --- a/dolphinscheduler-ui/src/locales/zh_CN/menu.ts +++ b/dolphinscheduler-ui/src/locales/zh_CN/menu.ts @@ -56,4 +56,4 @@ export default { data_quality: '数据质量', task_result: '任务结果', rule: '规则管理' -} \ No newline at end of file +} diff --git a/dolphinscheduler-ui/src/locales/zh_CN/modal.ts b/dolphinscheduler-ui/src/locales/zh_CN/modal.ts index 6e78e4597548ff19f636e7aa1ef3fb53fe3acded..603647e12cee9e058fd381928404d2c3c4e7e052 100644 --- a/dolphinscheduler-ui/src/locales/zh_CN/modal.ts +++ b/dolphinscheduler-ui/src/locales/zh_CN/modal.ts @@ -18,4 +18,4 @@ export default { cancel: '取消', confirm: '确定' -} \ No newline at end of file +} diff --git a/dolphinscheduler-ui/src/locales/zh_CN/monitor.ts b/dolphinscheduler-ui/src/locales/zh_CN/monitor.ts index 62fd110b1ad59b3e42390272257b9dd5050d7eff..1d319297a6f7b5fbc2b20a2a443b2c5d1bf86eaf 100644 --- a/dolphinscheduler-ui/src/locales/zh_CN/monitor.ts +++ b/dolphinscheduler-ui/src/locales/zh_CN/monitor.ts @@ -48,8 +48,7 @@ export default { threads_connections: '当前连接数', threads_running_connections: '数据库当前活跃连接数', db_no_data_result_title: 'DB节点不存在', - db_no_data_result_desc: - '目前没有任何DB节点,请先创建DB节点,再访问该页面' + db_no_data_result_desc: '目前没有任何DB节点,请先创建DB节点,再访问该页面' }, statistics: { command_number_of_waiting_for_running: '待执行的命令数', @@ -70,4 +69,4 @@ export default { delete: '删除', read: '读取' } -} \ No newline at end of file +} diff --git a/dolphinscheduler-ui/src/locales/zh_CN/password.ts b/dolphinscheduler-ui/src/locales/zh_CN/password.ts index 543fe6cbe8ccdc9b728ec8f8cb1b5ead59260b43..ceff17fd728f15e52d8bfba4015e6f90fee9c221 100644 --- a/dolphinscheduler-ui/src/locales/zh_CN/password.ts +++ b/dolphinscheduler-ui/src/locales/zh_CN/password.ts @@ -23,4 +23,4 @@ export default { confirm_password_tips: '请输入确认密码', two_password_entries_are_inconsistent: '两次密码输入不一致', submit: '提交' -} \ No newline at end of file +} diff --git a/dolphinscheduler-ui/src/locales/zh_CN/profile.ts b/dolphinscheduler-ui/src/locales/zh_CN/profile.ts index 9e86f894143c803191eab0d6323d96d09796ed1d..81f6a8b789e0b0efce56dd07af2d5ae0be79f121 100644 --- a/dolphinscheduler-ui/src/locales/zh_CN/profile.ts +++ b/dolphinscheduler-ui/src/locales/zh_CN/profile.ts @@ -37,4 +37,4 @@ export default { disable: '禁用', timezone_success: '时区更新成功', please_select_timezone: '请选择时区' -} \ No newline at end of file +} diff --git a/dolphinscheduler-ui/src/locales/zh_CN/project.ts b/dolphinscheduler-ui/src/locales/zh_CN/project.ts index 27e31194700a492b407927923300fbc519eb9c76..897ae3818d6afef243bfa3c4178bfbb0f2f55b38 100644 --- a/dolphinscheduler-ui/src/locales/zh_CN/project.ts +++ b/dolphinscheduler-ui/src/locales/zh_CN/project.ts @@ -600,8 +600,7 @@ export default { zeppelin_paragraph_id: 'zeppelin_paragraph_id', zeppelin_paragraph_id_tips: '请输入zeppelin paragraph id', zeppelin_parameters: 'parameters', - zeppelin_parameters_tips: - '请输入zeppelin dynamic form参数', + zeppelin_parameters_tips: '请输入zeppelin dynamic form参数', jupyter_conda_env_name: 'condaEnvName', jupyter_conda_env_name_tips: '请输入papermill所在的conda环境名', jupyter_input_note_path: 'inputNotePath', @@ -677,4 +676,4 @@ export default { please_enter_threshold_number_is_needed: '请输入阈值', please_enter_comparison_title: '请选择期望值类型' } -} \ No newline at end of file +} diff --git a/dolphinscheduler-ui/src/locales/zh_CN/resource.ts b/dolphinscheduler-ui/src/locales/zh_CN/resource.ts index b795c5132ba4f79a6b47a487f085f8b5d4ff6c6d..0c490606655dd31a191cdb3a636e32a9e6d0a1e4 100644 --- a/dolphinscheduler-ui/src/locales/zh_CN/resource.ts +++ b/dolphinscheduler-ui/src/locales/zh_CN/resource.ts @@ -165,4 +165,4 @@ export default { update_time: '更新时间', edit_priority: '修改优先级' } -} \ No newline at end of file +} diff --git a/dolphinscheduler-ui/src/locales/zh_CN/security.ts b/dolphinscheduler-ui/src/locales/zh_CN/security.ts index 10b36fdc8afda1de4f7a5b3bf5ebf5077f9b9cf4..d17d701a61d7604dcdd41142e6e796da98b7f0a0 100644 --- a/dolphinscheduler-ui/src/locales/zh_CN/security.ts +++ b/dolphinscheduler-ui/src/locales/zh_CN/security.ts @@ -262,4 +262,4 @@ export default { delete: '删除', delete_confirm: '确定删除吗?' } -} \ No newline at end of file +} diff --git a/dolphinscheduler-ui/src/locales/zh_CN/theme.ts b/dolphinscheduler-ui/src/locales/zh_CN/theme.ts index 77df7f2fc1e4a7ed75eeceb695bf74f1e9e59c71..0becc8377289c2341e804a8a0911cbd5ba3e5fd3 100644 --- a/dolphinscheduler-ui/src/locales/zh_CN/theme.ts +++ b/dolphinscheduler-ui/src/locales/zh_CN/theme.ts @@ -18,4 +18,4 @@ export default { light: '浅色', dark: '深色' -} \ No newline at end of file +} diff --git a/dolphinscheduler-ui/src/locales/zh_CN/user-dropdown.ts b/dolphinscheduler-ui/src/locales/zh_CN/user-dropdown.ts index 554f40872e1f4fed08573ed0447a0ad6457503a0..778d3f008e0d774ad59916e88ae8e24c701efce9 100644 --- a/dolphinscheduler-ui/src/locales/zh_CN/user-dropdown.ts +++ b/dolphinscheduler-ui/src/locales/zh_CN/user-dropdown.ts @@ -19,4 +19,4 @@ export default { profile: '用户信息', password: '密码管理', logout: '退出登录' -} \ No newline at end of file +} diff --git a/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-http.ts b/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-http.ts index 855d34c226f769605813c4ae8a92e385479f51e2..9e3a9af921d2e26fbf8311140b4d96e6a538f187 100644 --- a/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-http.ts +++ b/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-http.ts @@ -55,9 +55,7 @@ export function useHttp(model: { [field: string]: any }): IJsonItem[] { if (!value) { return new Error(t('project.node.http_url_tips')) } - if ( - value.search(new RegExp(/http[s]{0,1}:\/\/\S*/, 'i')) - ) { + if (value.search(new RegExp(/http[s]{0,1}:\/\/\S*/, 'i'))) { return new Error(t('project.node.http_url_validator')) } } diff --git a/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-jupyter.ts b/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-jupyter.ts index 191f3753de34538cc9c2fd0b3fdb430edc49018b..1f37f6ba00fa88f37a725a0db38e71a2f33da247 100644 --- a/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-jupyter.ts +++ b/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-jupyter.ts @@ -80,15 +80,15 @@ export function useJupyter(model: { [field: string]: any }): IJsonItem[] { props: { placeholder: t('project.node.jupyter_parameters_tips') } -// validate: { -// trigger: ['input', 'blur'], -// required: false, -// validator(validate: any, value: string) { -// if (!value) { -// return new Error(t('project.node.jupyter_parameters_tips')) -// } -// } -// } + // validate: { + // trigger: ['input', 'blur'], + // required: false, + // validator(validate: any, value: string) { + // if (!value) { + // return new Error(t('project.node.jupyter_parameters_tips')) + // } + // } + // } }, { type: 'input', @@ -97,15 +97,15 @@ export function useJupyter(model: { [field: string]: any }): IJsonItem[] { props: { placeholder: t('project.node.jupyter_kernel_tips') } -// validate: { -// trigger: ['input', 'blur'], -// required: false, -// validator(validate: any, value: string) { -// if (!value) { -// return new Error(t('project.node.jupyter_kernel_tips')) -// } -// } -// } + // validate: { + // trigger: ['input', 'blur'], + // required: false, + // validator(validate: any, value: string) { + // if (!value) { + // return new Error(t('project.node.jupyter_kernel_tips')) + // } + // } + // } }, { type: 'input', @@ -114,15 +114,15 @@ export function useJupyter(model: { [field: string]: any }): IJsonItem[] { props: { placeholder: t('project.node.jupyter_engine_tips') } -// validate: { -// trigger: ['input', 'blur'], -// required: false, -// validator(validate: any, value: string) { -// if (!value) { -// return new Error(t('project.node.jupyter_engine_tips')) -// } -// } -// } + // validate: { + // trigger: ['input', 'blur'], + // required: false, + // validator(validate: any, value: string) { + // if (!value) { + // return new Error(t('project.node.jupyter_engine_tips')) + // } + // } + // } }, { type: 'input', @@ -131,15 +131,15 @@ export function useJupyter(model: { [field: string]: any }): IJsonItem[] { props: { placeholder: t('project.node.jupyter_execution_timeout_tips') } -// validate: { -// trigger: ['input', 'blur'], -// required: false, -// validator(validate: any, value: string) { -// if (!value) { -// return new Error(t('project.node.jupyter_execution_timeout_tips')) -// } -// } -// } + // validate: { + // trigger: ['input', 'blur'], + // required: false, + // validator(validate: any, value: string) { + // if (!value) { + // return new Error(t('project.node.jupyter_execution_timeout_tips')) + // } + // } + // } }, { type: 'input', @@ -148,15 +148,15 @@ export function useJupyter(model: { [field: string]: any }): IJsonItem[] { props: { placeholder: t('project.node.zeppelin_note_id_tips') } -// validate: { -// trigger: ['input', 'blur'], -// required: false, -// validator(validate: any, value: string) { -// if (!value) { -// return new Error(t('project.node.jupyter_start_timeout_tips')) -// } -// } -// } + // validate: { + // trigger: ['input', 'blur'], + // required: false, + // validator(validate: any, value: string) { + // if (!value) { + // return new Error(t('project.node.jupyter_start_timeout_tips')) + // } + // } + // } }, { type: 'input', @@ -165,15 +165,15 @@ export function useJupyter(model: { [field: string]: any }): IJsonItem[] { props: { placeholder: t('project.node.jupyter_others_tips') } -// validate: { -// trigger: ['input', 'blur'], -// required: false, -// validator(validate: any, value: string) { -// if (!value) { -// return new Error(t('project.node.jupyter_others_tips')) -// } -// } -// } + // validate: { + // trigger: ['input', 'blur'], + // required: false, + // validator(validate: any, value: string) { + // if (!value) { + // return new Error(t('project.node.jupyter_others_tips')) + // } + // } + // } }, ...useCustomParams({ model, field: 'localParams', isSimple: false }) ] diff --git a/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-openmldb.ts b/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-openmldb.ts index 9f5a38db6f547c47c1cbd50cb6e92ba41c7ca183..742d40490017569f4ad996020bb8c0d775e49d8f 100644 --- a/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-openmldb.ts +++ b/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-openmldb.ts @@ -30,58 +30,58 @@ export function useOpenmldb(model: { [field: string]: any }): IJsonItem[] { value: 'online' } ] - return [ - { - type: 'input', - field: 'zk', - name: t('project.node.openmldb_zk_address'), - props: { - placeholder: t('project.node.openmldb_zk_address_tips') - }, - validate: { - trigger: ['input', 'blur'], - required: true, - validator(validate: any, value: string) { - if (!value) { - return new Error(t('project.node.openmldb_zk_address_tips')) - } - } - } - }, - { - type: 'input', - field: 'zkPath', - name: t('project.node.openmldb_zk_path'), - props: { - placeholder: t('project.node.openmldb_zk_path_tips') - }, - validate: { - trigger: ['input', 'blur'], - required: true, - validator(validate: any, value: string) { - if (!value) { - return new Error(t('project.node.openmldb_zk_path_tips')) - } - } - } - }, - { - type: 'radio', - field: 'executeMode', - name: t('project.node.openmldb_execute_mode'), - options: options - }, - { - type: 'editor', - field: 'sql', - name: t('project.node.sql_statement'), - validate: { - trigger: ['input', 'trigger'], - required: true, - message: t('project.node.sql_empty_tips') - } - }, - useResources(), - ...useCustomParams({ model, field: 'localParams', isSimple: false }) - ] + return [ + { + type: 'input', + field: 'zk', + name: t('project.node.openmldb_zk_address'), + props: { + placeholder: t('project.node.openmldb_zk_address_tips') + }, + validate: { + trigger: ['input', 'blur'], + required: true, + validator(validate: any, value: string) { + if (!value) { + return new Error(t('project.node.openmldb_zk_address_tips')) + } + } + } + }, + { + type: 'input', + field: 'zkPath', + name: t('project.node.openmldb_zk_path'), + props: { + placeholder: t('project.node.openmldb_zk_path_tips') + }, + validate: { + trigger: ['input', 'blur'], + required: true, + validator(validate: any, value: string) { + if (!value) { + return new Error(t('project.node.openmldb_zk_path_tips')) + } + } + } + }, + { + type: 'radio', + field: 'executeMode', + name: t('project.node.openmldb_execute_mode'), + options: options + }, + { + type: 'editor', + field: 'sql', + name: t('project.node.sql_statement'), + validate: { + trigger: ['input', 'trigger'], + required: true, + message: t('project.node.sql_empty_tips') + } + }, + useResources(), + ...useCustomParams({ model, field: 'localParams', isSimple: false }) + ] } diff --git a/dolphinscheduler-ui/src/views/resource/task-group/option/components/form-modal.tsx b/dolphinscheduler-ui/src/views/resource/task-group/option/components/form-modal.tsx index 259d0a361e778c35396e9ba5ffd77734947f4862..c2f83d82a87fb810c35911aeb117289039ac9891 100644 --- a/dolphinscheduler-ui/src/views/resource/task-group/option/components/form-modal.tsx +++ b/dolphinscheduler-ui/src/views/resource/task-group/option/components/form-modal.tsx @@ -135,7 +135,7 @@ const FormModal = defineComponent({ >