Unverified Commit 907a1d72 authored by aiwenmo's avatar aiwenmo Committed by GitHub

[Fix-264][web]Fix the bug that the metadata details cannot be refresh…

[Fix-264][web]Fix the bug that the metadata details cannot be refresh…
parents 7b26423a dbdfc36c
...@@ -63,7 +63,7 @@ const DTable = (props: any) => { ...@@ -63,7 +63,7 @@ const DTable = (props: any) => {
if(dataSource&&dataSource.url){ if(dataSource&&dataSource.url){
refreshData(); refreshData();
} }
}, []); }, [dataSource]);
return ( return (
<ProTable <ProTable
......
...@@ -22,7 +22,7 @@ const Generation = (props: any) => { ...@@ -22,7 +22,7 @@ const Generation = (props: any) => {
useEffect(() => { useEffect(() => {
getSqlGeneration(); getSqlGeneration();
}, []); }, [dbId,table,schema]);
return (<> return (<>
<Paragraph> <Paragraph>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment