diff --git a/dinky-web/src/pages/RegCenter/DataSource/components/DataSourceDetail/index.tsx b/dinky-web/src/pages/RegCenter/DataSource/components/DataSourceDetail/index.tsx index 260ae8bcf20..596c48d522e 100644 --- a/dinky-web/src/pages/RegCenter/DataSource/components/DataSourceDetail/index.tsx +++ b/dinky-web/src/pages/RegCenter/DataSource/components/DataSourceDetail/index.tsx @@ -103,8 +103,7 @@ const DataSourceDetail = (props: any) => { clearState(); return; } - if (selectDb){ - + if (selectDb) { dispatch({ type: STUDIO_MODEL.addTab, payload: {