Unverified Commit 26628f1b authored by gphwxhq's avatar gphwxhq Committed by GitHub

[Fix-3663][web] Fix the issue of abnormal display of the DataStudio module when…

[Fix-3663][web] Fix the issue of abnormal display of the DataStudio module when the window size changes (#3664)
parent 337eb0dd
...@@ -110,7 +110,7 @@ const DataStudio: React.FC<connect> = (props: any) => { ...@@ -110,7 +110,7 @@ const DataStudio: React.FC<connect> = (props: any) => {
window.addEventListener('resize', onResize); window.addEventListener('resize', onResize);
onResize(); onResize();
return () => window.removeEventListener('resize', onResize); return () => window.removeEventListener('resize', onResize);
}, []); }, [bottomContainer, isProject]);
const loadData = () => { const loadData = () => {
queryDatabaseList(); queryDatabaseList();
......
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