From 878989579150aebe34a8f19e5af7589d74cfebaa Mon Sep 17 00:00:00 2001 From: songjianet <1778651752@qq.com> Date: Wed, 24 Aug 2022 14:04:19 +0800 Subject: [PATCH] [Fix][UI] Fix the port in the datasource edit. (#11624) --- dolphinscheduler-ui/src/views/datasource/list/detail.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dolphinscheduler-ui/src/views/datasource/list/detail.tsx b/dolphinscheduler-ui/src/views/datasource/list/detail.tsx index 3787918721..dbbfc01988 100644 --- a/dolphinscheduler-ui/src/views/datasource/list/detail.tsx +++ b/dolphinscheduler-ui/src/views/datasource/list/detail.tsx @@ -89,13 +89,13 @@ const DetailModal = defineComponent({ watch( () => props.show, async () => { - props.show && props.id && setFieldsValue(await queryById(props.id)) props.show && state.detailForm.type && - changeType( + await changeType( state.detailForm.type, datasourceType[state.detailForm.type] ) + props.show && props.id && setFieldsValue(await queryById(props.id)) } )