mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-01-18 21:38:14 +00:00
fix: 修复在切换节点时, 设置区没有回到首个 tab
This commit is contained in:
parent
6cb8bf2751
commit
29eeaa07d1
@ -22,6 +22,10 @@ export class SettingsPrimaryPane extends Component<{ editor: Editor; config: any
|
|||||||
|
|
||||||
componentDidMount() {
|
componentDidMount() {
|
||||||
this.setShouldIgnoreRoot();
|
this.setShouldIgnoreRoot();
|
||||||
|
|
||||||
|
this.props.editor.on('designer.selection.change', () => {
|
||||||
|
this._activeKey = null;
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
async setShouldIgnoreRoot() {
|
async setShouldIgnoreRoot() {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user