fix:可视化编辑器弹窗中多选了组件,面板异常 (#9542)

Co-authored-by: hezhihang <hezhihang@baidu.com>
This commit is contained in:
hzh11012 2024-01-30 10:41:27 +08:00 committed by GitHub
parent fc3396bf61
commit 8e7ceae08f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -580,8 +580,8 @@ export class EditorManager {
let id = curRendererId || this.store.activeId;
let panels: Array<BasicPanelItem> = [];
if (!id && this.store?.schema) {
id = this.store?.schema.$$id; // 默认使用根节点id
if (!id && this.store?.filteredSchema) {
id = this.store?.filteredSchema.$$id; // 默认使用根节点id
}
if (id || this.store.selections.length) {