Commit dbdfc36c authored by JinPeng's avatar JinPeng

[Fix-264][web]Fix the bug that the metadata details cannot be refreshed when...

[Fix-264][web]Fix the bug that the metadata details cannot be refreshed when you right-click to switch
parent 953a6b03
......@@ -63,7 +63,7 @@ const DTable = (props: any) => {
if(dataSource&&dataSource.url){
refreshData();
}
}, []);
}, [dataSource]);
return (
<ProTable
......
......@@ -22,7 +22,7 @@ const Generation = (props: any) => {
useEffect(() => {
getSqlGeneration();
}, []);
}, [dbId,table,schema]);
return (<>
<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