Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
yiicenne
DolphinScheduler
提交
8584aad4
DolphinScheduler
项目概览
yiicenne
/
DolphinScheduler
与 Fork 源项目一致
Fork自
apache / DolphinScheduler
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
DolphinScheduler
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
8584aad4
编写于
5月 31, 2022
作者:
S
songjianet
提交者:
GitHub
5月 31, 2022
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[Style][UI] Format code. (#10314)
上级
d80cf214
变更
34
隐藏空白更改
内联
并排
Showing
34 changed file
with
146 addition
and
148 deletion
+146
-148
dolphinscheduler-ui/src/locales/en_US/crontab.ts
dolphinscheduler-ui/src/locales/en_US/crontab.ts
+1
-1
dolphinscheduler-ui/src/locales/en_US/data-quality.ts
dolphinscheduler-ui/src/locales/en_US/data-quality.ts
+1
-1
dolphinscheduler-ui/src/locales/en_US/datasource.ts
dolphinscheduler-ui/src/locales/en_US/datasource.ts
+1
-1
dolphinscheduler-ui/src/locales/en_US/home.ts
dolphinscheduler-ui/src/locales/en_US/home.ts
+1
-1
dolphinscheduler-ui/src/locales/en_US/login.ts
dolphinscheduler-ui/src/locales/en_US/login.ts
+1
-1
dolphinscheduler-ui/src/locales/en_US/menu.ts
dolphinscheduler-ui/src/locales/en_US/menu.ts
+1
-1
dolphinscheduler-ui/src/locales/en_US/modal.ts
dolphinscheduler-ui/src/locales/en_US/modal.ts
+1
-1
dolphinscheduler-ui/src/locales/en_US/monitor.ts
dolphinscheduler-ui/src/locales/en_US/monitor.ts
+1
-1
dolphinscheduler-ui/src/locales/en_US/password.ts
dolphinscheduler-ui/src/locales/en_US/password.ts
+1
-1
dolphinscheduler-ui/src/locales/en_US/profile.ts
dolphinscheduler-ui/src/locales/en_US/profile.ts
+1
-1
dolphinscheduler-ui/src/locales/en_US/project.ts
dolphinscheduler-ui/src/locales/en_US/project.ts
+5
-3
dolphinscheduler-ui/src/locales/en_US/resource.ts
dolphinscheduler-ui/src/locales/en_US/resource.ts
+1
-1
dolphinscheduler-ui/src/locales/en_US/security.ts
dolphinscheduler-ui/src/locales/en_US/security.ts
+1
-1
dolphinscheduler-ui/src/locales/en_US/theme.ts
dolphinscheduler-ui/src/locales/en_US/theme.ts
+1
-1
dolphinscheduler-ui/src/locales/en_US/user-dropdown.ts
dolphinscheduler-ui/src/locales/en_US/user-dropdown.ts
+1
-1
dolphinscheduler-ui/src/locales/zh_CN/crontab.ts
dolphinscheduler-ui/src/locales/zh_CN/crontab.ts
+1
-1
dolphinscheduler-ui/src/locales/zh_CN/data-quality.ts
dolphinscheduler-ui/src/locales/zh_CN/data-quality.ts
+1
-1
dolphinscheduler-ui/src/locales/zh_CN/datasource.ts
dolphinscheduler-ui/src/locales/zh_CN/datasource.ts
+1
-1
dolphinscheduler-ui/src/locales/zh_CN/home.ts
dolphinscheduler-ui/src/locales/zh_CN/home.ts
+1
-1
dolphinscheduler-ui/src/locales/zh_CN/login.ts
dolphinscheduler-ui/src/locales/zh_CN/login.ts
+1
-1
dolphinscheduler-ui/src/locales/zh_CN/menu.ts
dolphinscheduler-ui/src/locales/zh_CN/menu.ts
+1
-1
dolphinscheduler-ui/src/locales/zh_CN/modal.ts
dolphinscheduler-ui/src/locales/zh_CN/modal.ts
+1
-1
dolphinscheduler-ui/src/locales/zh_CN/monitor.ts
dolphinscheduler-ui/src/locales/zh_CN/monitor.ts
+2
-3
dolphinscheduler-ui/src/locales/zh_CN/password.ts
dolphinscheduler-ui/src/locales/zh_CN/password.ts
+1
-1
dolphinscheduler-ui/src/locales/zh_CN/profile.ts
dolphinscheduler-ui/src/locales/zh_CN/profile.ts
+1
-1
dolphinscheduler-ui/src/locales/zh_CN/project.ts
dolphinscheduler-ui/src/locales/zh_CN/project.ts
+2
-3
dolphinscheduler-ui/src/locales/zh_CN/resource.ts
dolphinscheduler-ui/src/locales/zh_CN/resource.ts
+1
-1
dolphinscheduler-ui/src/locales/zh_CN/security.ts
dolphinscheduler-ui/src/locales/zh_CN/security.ts
+1
-1
dolphinscheduler-ui/src/locales/zh_CN/theme.ts
dolphinscheduler-ui/src/locales/zh_CN/theme.ts
+1
-1
dolphinscheduler-ui/src/locales/zh_CN/user-dropdown.ts
dolphinscheduler-ui/src/locales/zh_CN/user-dropdown.ts
+1
-1
dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-http.ts
...rc/views/projects/task/components/node/fields/use-http.ts
+1
-3
dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-jupyter.ts
...views/projects/task/components/node/fields/use-jupyter.ts
+54
-54
dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-openmldb.ts
...iews/projects/task/components/node/fields/use-openmldb.ts
+54
-54
dolphinscheduler-ui/src/views/resource/task-group/option/components/form-modal.tsx
...iews/resource/task-group/option/components/form-modal.tsx
+1
-1
未找到文件。
dolphinscheduler-ui/src/locales/en_US/crontab.ts
浏览文件 @
8584aad4
...
...
@@ -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
}
dolphinscheduler-ui/src/locales/en_US/data-quality.ts
浏览文件 @
8584aad4
...
...
@@ -109,4 +109,4 @@ export default {
SrcTableTotalRows
:
'
SrcTableTotalRows
'
,
TargetTableTotalRows
:
'
TargetTableTotalRows
'
}
}
\ No newline at end of file
}
dolphinscheduler-ui/src/locales/en_US/datasource.ts
浏览文件 @
8584aad4
...
...
@@ -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
}
dolphinscheduler-ui/src/locales/en_US/home.ts
浏览文件 @
8584aad4
...
...
@@ -39,4 +39,4 @@ export default {
dispatch
:
'
DISPATCH
'
,
ready_block
:
'
READY_BLOCK
'
,
block
:
'
BLOCK
'
}
\ No newline at end of file
}
dolphinscheduler-ui/src/locales/en_US/login.ts
浏览文件 @
8584aad4
...
...
@@ -22,4 +22,4 @@ export default {
userPassword
:
'
Password
'
,
userPassword_tips
:
'
Please enter your password
'
,
login
:
'
Login
'
}
\ No newline at end of file
}
dolphinscheduler-ui/src/locales/en_US/menu.ts
浏览文件 @
8584aad4
...
...
@@ -56,4 +56,4 @@ export default {
data_quality
:
'
Data Quality
'
,
task_result
:
'
Task Result
'
,
rule
:
'
Rule management
'
}
\ No newline at end of file
}
dolphinscheduler-ui/src/locales/en_US/modal.ts
浏览文件 @
8584aad4
...
...
@@ -18,4 +18,4 @@
export
default
{
cancel
:
'
Cancel
'
,
confirm
:
'
Confirm
'
}
\ No newline at end of file
}
dolphinscheduler-ui/src/locales/en_US/monitor.ts
浏览文件 @
8584aad4
...
...
@@ -71,4 +71,4 @@ export default {
delete
:
'
Delete
'
,
read
:
'
Read
'
}
}
\ No newline at end of file
}
dolphinscheduler-ui/src/locales/en_US/password.ts
浏览文件 @
8584aad4
...
...
@@ -24,4 +24,4 @@ export default {
two_password_entries_are_inconsistent
:
'
Two password entries are inconsistent
'
,
submit
:
'
Submit
'
}
\ No newline at end of file
}
dolphinscheduler-ui/src/locales/en_US/profile.ts
浏览文件 @
8584aad4
...
...
@@ -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
}
dolphinscheduler-ui/src/locales/en_US/project.ts
浏览文件 @
8584aad4
...
...
@@ -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
}
dolphinscheduler-ui/src/locales/en_US/resource.ts
浏览文件 @
8584aad4
...
...
@@ -167,4 +167,4 @@ export default {
update_time
:
'
Update time
'
,
edit_priority
:
'
Edit the task priority
'
}
}
\ No newline at end of file
}
dolphinscheduler-ui/src/locales/en_US/security.ts
浏览文件 @
8584aad4
...
...
@@ -262,4 +262,4 @@ export default {
delete
:
'
Delete
'
,
delete_confirm
:
'
Delete?
'
}
}
\ No newline at end of file
}
dolphinscheduler-ui/src/locales/en_US/theme.ts
浏览文件 @
8584aad4
...
...
@@ -18,4 +18,4 @@
export
default
{
light
:
'
Light
'
,
dark
:
'
Dark
'
}
\ No newline at end of file
}
dolphinscheduler-ui/src/locales/en_US/user-dropdown.ts
浏览文件 @
8584aad4
...
...
@@ -19,4 +19,4 @@ export default {
profile
:
'
Profile
'
,
password
:
'
Password
'
,
logout
:
'
Logout
'
}
\ No newline at end of file
}
dolphinscheduler-ui/src/locales/zh_CN/crontab.ts
浏览文件 @
8584aad4
...
...
@@ -74,4 +74,4 @@ export default {
specific_year_tip
:
'
请选择具体年数
'
,
one_hour
:
'
小时
'
,
one_day
:
'
日
'
}
\ No newline at end of file
}
dolphinscheduler-ui/src/locales/zh_CN/data-quality.ts
浏览文件 @
8584aad4
...
...
@@ -108,4 +108,4 @@ export default {
SrcTableTotalRows
:
'
源表总行数
'
,
TargetTableTotalRows
:
'
目标表总行数
'
}
}
\ No newline at end of file
}
dolphinscheduler-ui/src/locales/zh_CN/datasource.ts
浏览文件 @
8584aad4
...
...
@@ -60,4 +60,4 @@ export default {
user_password
:
'
密码
'
,
user_password_tips
:
'
请输入密码
'
,
jdbc_format_tips
:
'
jdbc连接参数不是一个正确的JSON格式
'
}
\ No newline at end of file
}
dolphinscheduler-ui/src/locales/zh_CN/home.ts
浏览文件 @
8584aad4
...
...
@@ -39,4 +39,4 @@ export default {
dispatch
:
'
派发
'
,
ready_block
:
'
准备阻断
'
,
block
:
'
阻断
'
}
\ No newline at end of file
}
dolphinscheduler-ui/src/locales/zh_CN/login.ts
浏览文件 @
8584aad4
...
...
@@ -22,4 +22,4 @@ export default {
userPassword
:
'
密码
'
,
userPassword_tips
:
'
请输入密码
'
,
login
:
'
登录
'
}
\ No newline at end of file
}
dolphinscheduler-ui/src/locales/zh_CN/menu.ts
浏览文件 @
8584aad4
...
...
@@ -56,4 +56,4 @@ export default {
data_quality
:
'
数据质量
'
,
task_result
:
'
任务结果
'
,
rule
:
'
规则管理
'
}
\ No newline at end of file
}
dolphinscheduler-ui/src/locales/zh_CN/modal.ts
浏览文件 @
8584aad4
...
...
@@ -18,4 +18,4 @@
export
default
{
cancel
:
'
取消
'
,
confirm
:
'
确定
'
}
\ No newline at end of file
}
dolphinscheduler-ui/src/locales/zh_CN/monitor.ts
浏览文件 @
8584aad4
...
...
@@ -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
}
dolphinscheduler-ui/src/locales/zh_CN/password.ts
浏览文件 @
8584aad4
...
...
@@ -23,4 +23,4 @@ export default {
confirm_password_tips
:
'
请输入确认密码
'
,
two_password_entries_are_inconsistent
:
'
两次密码输入不一致
'
,
submit
:
'
提交
'
}
\ No newline at end of file
}
dolphinscheduler-ui/src/locales/zh_CN/profile.ts
浏览文件 @
8584aad4
...
...
@@ -37,4 +37,4 @@ export default {
disable
:
'
禁用
'
,
timezone_success
:
'
时区更新成功
'
,
please_select_timezone
:
'
请选择时区
'
}
\ No newline at end of file
}
dolphinscheduler-ui/src/locales/zh_CN/project.ts
浏览文件 @
8584aad4
...
...
@@ -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
}
dolphinscheduler-ui/src/locales/zh_CN/resource.ts
浏览文件 @
8584aad4
...
...
@@ -165,4 +165,4 @@ export default {
update_time
:
'
更新时间
'
,
edit_priority
:
'
修改优先级
'
}
}
\ No newline at end of file
}
dolphinscheduler-ui/src/locales/zh_CN/security.ts
浏览文件 @
8584aad4
...
...
@@ -262,4 +262,4 @@ export default {
delete
:
'
删除
'
,
delete_confirm
:
'
确定删除吗?
'
}
}
\ No newline at end of file
}
dolphinscheduler-ui/src/locales/zh_CN/theme.ts
浏览文件 @
8584aad4
...
...
@@ -18,4 +18,4 @@
export
default
{
light
:
'
浅色
'
,
dark
:
'
深色
'
}
\ No newline at end of file
}
dolphinscheduler-ui/src/locales/zh_CN/user-dropdown.ts
浏览文件 @
8584aad4
...
...
@@ -19,4 +19,4 @@ export default {
profile
:
'
用户信息
'
,
password
:
'
密码管理
'
,
logout
:
'
退出登录
'
}
\ No newline at end of file
}
dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-http.ts
浏览文件 @
8584aad4
...
...
@@ -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
'
))
}
}
...
...
dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-jupyter.ts
浏览文件 @
8584aad4
...
...
@@ -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
})
]
...
...
dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-openmldb.ts
浏览文件 @
8584aad4
...
...
@@ -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
})
]
}
dolphinscheduler-ui/src/views/resource/task-group/option/components/form-modal.tsx
浏览文件 @
8584aad4
...
...
@@ -135,7 +135,7 @@ const FormModal = defineComponent({
>
<
NInputNumber
v
-
model
:
value
=
{
this
.
formData
.
groupSize
}
style
=
{
{
width
:
'
100%
'
}
}
style
=
{
{
width
:
'
100%
'
}
}
min
=
{
1
}
placeholder
=
{
t
(
'
resource.task_group_option.please_enter_resource_pool_size
'
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录