fix: 修复循环each组件,配置成员渲染器,选中容器,组件侧边栏隐藏的问题

This commit is contained in:
jinye 2023-06-16 20:24:07 +08:00
parent a97dfe234d
commit 19c9556950

View File

@ -10,6 +10,7 @@ import {
} from 'amis-editor-core';
import {defaultValue, getSchemaTpl} from 'amis-editor-core';
import {diff, JSONPipeOut} from 'amis-editor-core';
import {schemaToArray} from '../util';
export class EachPlugin extends BasePlugin {
static id = 'EachPlugin';
@ -132,7 +133,7 @@ export class EachPlugin extends BasePlugin {
value &&
this.manager.openSubEditor({
title: '配置成员渲染器',
value: value.items,
value: schemaToArray(value.items),
slot: {
type: 'container',
body: '$$'