mirror of
https://github.com/smartxworks/sunmao-ui.git
synced 2025-02-23 17:49:49 +08:00
fix: fix selecting component would change the properties' values issue
This commit is contained in:
parent
87074162c9
commit
a3f0c24e48
@ -144,7 +144,7 @@ export const ComponentForm: React.FC<Props> = observer(props => {
|
||||
<FormSection
|
||||
style={{ position: 'relative', zIndex: sections.length - i }}
|
||||
title={section.title}
|
||||
key={section.title}
|
||||
key={`${section.title}-${selectedComponentId}`}
|
||||
>
|
||||
{section.node}
|
||||
</FormSection>
|
||||
|
Loading…
Reference in New Issue
Block a user