mirror of
https://github.com/smartxworks/sunmao-ui.git
synced 2025-02-23 17:49:49 +08:00
fix(editor): loss of state in ComponentList caused by tab switching
This commit is contained in:
parent
474ef8a28c
commit
3d999a655b
@ -228,9 +228,10 @@ export const Editor: React.FC<Props> = observer(
|
||||
height="100%"
|
||||
display="flex"
|
||||
flexDirection="column"
|
||||
lazyBehavior="keepMounted"
|
||||
isLazy
|
||||
index={toolMenuTab}
|
||||
onChange={onRightTabChange}
|
||||
isLazy
|
||||
>
|
||||
<TabList background="gray.50">
|
||||
<Tab>Inspect</Tab>
|
||||
|
Loading…
Reference in New Issue
Block a user