[Bugfix]修复集群配置不写时,校验参数报错的问题

This commit is contained in:
limaiwang
2022-11-23 20:52:08 +08:00
committed by 早晚会起风
parent 38def45ad6
commit daeb5c4cec

View File

@@ -144,7 +144,7 @@ const AccessClusters = (props: any): JSX.Element => {
return Utils.post(api.kafkaValidator, { return Utils.post(api.kafkaValidator, {
bootstrapServers: bootstrapServers || '', bootstrapServers: bootstrapServers || '',
zookeeper: zookeeper || '', zookeeper: zookeeper || '',
clientProperties, clientProperties: clientProperties || {},
}) })
.then( .then(
(res: { (res: {