Merge branch 'fix/sectionPane' into 'release/0.9.0'

fix: 区块模板切换之后数据不显示



See merge request !880821
This commit is contained in:
康为 2020-07-06 12:52:53 +08:00
commit cd0c6a8871

View File

@ -154,6 +154,9 @@ export default class Panel implements IWidget {
}
this.emitter.emit('activechange', true);
} else if (this.inited) {
if (this.parent?.name && this.name.startsWith(this.parent.name)) {
this.inited = false;
}
this._actived = false;
this.parent?.unactive(this);
this.emitter.emit('activechange', false);