mirror of
https://github.com/smartxworks/sunmao-ui.git
synced 2024-11-27 08:39:59 +08:00
keep mounted of tab panels' content when not active
This commit is contained in:
parent
910738871e
commit
dc463c2651
@ -219,6 +219,7 @@ export const Editor: React.FC<Props> = observer(
|
||||
display="flex"
|
||||
flexDirection="column"
|
||||
textAlign="left"
|
||||
lazyBehavior='keepMounted'
|
||||
isLazy
|
||||
index={explorerMenuTab}
|
||||
onChange={activatedTab => {
|
||||
|
Loading…
Reference in New Issue
Block a user