You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by so...@apache.org on 2022/08/24 06:04:29 UTC
[dolphinscheduler] branch dev updated: [Fix][UI] Fix the port in the datasource edit. (#11624)
This is an automated email from the ASF dual-hosted git repository.
songjian pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git
The following commit(s) were added to refs/heads/dev by this push:
new 8789895791 [Fix][UI] Fix the port in the datasource edit. (#11624)
8789895791 is described below
commit 878989579150aebe34a8f19e5af7589d74cfebaa
Author: songjianet <17...@qq.com>
AuthorDate: Wed Aug 24 14:04:19 2022 +0800
[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))
}
)