Unverified Commit 6ec6e4aa authored by gaoyan's avatar gaoyan Committed by GitHub

Optimized SQL execution (#2952)

parent eafc7f7a
...@@ -263,6 +263,9 @@ const HeaderContainer = (props: connect) => { ...@@ -263,6 +263,9 @@ const HeaderContainer = (props: connect) => {
currentData.status = JOB_STATUS.FINISHED; currentData.status = JOB_STATUS.FINISHED;
} }
if (currentTab) currentTab.console.result = res.data.result; if (currentTab) currentTab.console.result = res.data.result;
if (isSql(currentData.dialect)) {
updateSelectBottomKey(LeftBottomKey.RESULT_KEY);
}
saveTabs({ ...props.tabs }); saveTabs({ ...props.tabs });
}; };
......
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