mirror of
https://github.com/smartxworks/sunmao-ui.git
synced 2024-11-21 03:15:49 +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