mirror of
https://github.com/smartxworks/sunmao-ui.git
synced 2024-11-27 08:39:59 +08:00
Merge pull request #272 from webzard-io/fix/windlike-patch
fix(editor): auto change selected component id after id changed
This commit is contained in:
commit
1304083729
@ -120,6 +120,7 @@ export const ComponentForm: React.FC<Props> = observer(props => {
|
||||
newId: value,
|
||||
})
|
||||
);
|
||||
editorStore.setSelectedComponentId(value);
|
||||
};
|
||||
|
||||
const onKeyDown = (e: React.KeyboardEvent) => {
|
||||
|
Loading…
Reference in New Issue
Block a user