mirror of
https://github.com/smartxworks/sunmao-ui.git
synced 2025-04-06 21:40:23 +08:00
feat(editor): change switch module order
This commit is contained in:
parent
e9091c8cc6
commit
4e545a0bcc
@ -103,8 +103,8 @@ export class EditorStore {
|
||||
this.setComponents([]);
|
||||
setTimeout(() => {
|
||||
// set new components
|
||||
this.setModuleDependencies(target.metadata?.exampleProperties);
|
||||
this.setSelectedComponentId(this.originComponents[0]?.id || '');
|
||||
this.setModuleDependencies(target.metadata?.exampleProperties);
|
||||
this.eventBus.send('componentsRefresh', this.originComponents);
|
||||
this.setComponents(this.originComponents);
|
||||
}, 0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user