Commit 102c2086 authored by coderTomato's avatar coderTomato

解决sql编辑器因浏览器宽高改变而消失的问题

parent 4c5df378
......@@ -12,6 +12,10 @@ const EditorTabs = (props: any) => {
const {tabs, dispatch, current, toolHeight,width} = props;
const onChange = (activeKey: any) => {
dispatch&&dispatch({
type: "Studio/saveToolHeight",
payload: toolHeight-0.0001,
});
dispatch({
type: "Studio/changeActiveKey",
payload: activeKey,
......
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