Unverified Commit a10deeca authored by Licho's avatar Licho Committed by GitHub

fix: typo and closealltab (#2264)

* fix: typo and closealltab Signed-off-by: 's avatarLicho <lecho.sun@gmail.com> * Spotless Apply --------- Signed-off-by: 's avatarLicho <lecho.sun@gmail.com> Co-authored-by: 's avatarleechor <leechor@users.noreply.github.com>
parent 889307be
...@@ -88,7 +88,7 @@ const ErrorShowModal = (props: ShowModalProps) => { ...@@ -88,7 +88,7 @@ const ErrorShowModal = (props: ShowModalProps) => {
closable={closable} closable={closable}
footer={ footer={
<Button type='primary' onClick={() => setShowModal(false)}> <Button type='primary' onClick={() => setShowModal(false)}>
{l('global.notifaction.iknow')} {l('global.notification.iknow')}
</Button> </Button>
} }
> >
......
...@@ -123,6 +123,10 @@ const MiddleContainer = (props: any) => { ...@@ -123,6 +123,10 @@ const MiddleContainer = (props: any) => {
type: STUDIO_MODEL.closeAllTabs type: STUDIO_MODEL.closeAllTabs
}); });
setContextMenuVisible(false); setContextMenuVisible(false);
dispatch({
type: STUDIO_MODEL.updateSelectRightKey,
payload: ''
});
}; };
/** /**
......
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