Skip to content

Commit

Permalink
fix:动态路由选择为变量的时候,没办法提交保存 (#253)
Browse files Browse the repository at this point in the history
  • Loading branch information
qdsordinarydream authored Oct 20, 2023
1 parent 217ee83 commit 35e298d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ const validator = Form.combineValidators<Values>({
if (!v && data.type === RoutingArgumentsType.CALLER_IP) {
return '请输入IP'
}
if (!v && data.type !== RoutingArgumentsType.CALLER_IP) {
if (!v && data.type !== RoutingArgumentsType.CALLER_IP && data.value_value_type !== RoutingValueType.PARAMETER) {
return '请输入value值'
}
},
Expand Down

0 comments on commit 35e298d

Please sign in to comment.