mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-29 18:48:45 +08:00
fix:可视化编辑器弹窗中多选了组件,面板异常 (#9542)
Co-authored-by: hezhihang <hezhihang@baidu.com>
This commit is contained in:
parent
fc3396bf61
commit
8e7ceae08f
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user