Commit 6961f0f3 authored by wenmo's avatar wenmo

注销会话

parent 18f1c9be
...@@ -74,7 +74,7 @@ export function clearSession(session: string, dispatch: any) { ...@@ -74,7 +74,7 @@ export function clearSession(session: string, dispatch: any) {
}; };
const res = handleRemove('/api/studio/clearSession', [para]); const res = handleRemove('/api/studio/clearSession', [para]);
res.then((result) => { res.then((result) => {
showTables(session, dispatch); quitSession(dispatch);
}); });
} }
}); });
......
...@@ -134,7 +134,7 @@ const StudioConnector = (props:any) => { ...@@ -134,7 +134,7 @@ const StudioConnector = (props:any) => {
}; };
const onClearSession = () => { const onClearSession = () => {
clearSession(current.task.session,current.task,dispatch); clearSession(currentSession.session,dispatch);
}; };
const getColumns=()=>{ const getColumns=()=>{
......
...@@ -41,6 +41,11 @@ ...@@ -41,6 +41,11 @@
width: 100%; width: 100%;
} }
/* --- prodescription item宽度 --- start */ /* --- prodescription item宽度 --- start */
/* --- table 宽度 --- start */
.ant-table-wrapper {
width: 100%;
}
/* --- table 宽度 --- start */
} }
/* --- tabs 垂直样式 --- start */ /* --- tabs 垂直样式 --- start */
......
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