lowcode-engine icon indicating copy to clipboard operation
lowcode-engine copied to clipboard

SlotSetter如何设置默认开启插槽,不用每次手动点击switch去开启

Open ChiZng opened this issue 1 year ago • 0 comments

SlotSetter如何设置默认开启插槽,不用每次手动点击switch去开启

在组件描述文件meta.ts中设置组件属性为SlotSetter,如何设置可以将SlotSetter设置为默认开启,不用每次在组件属性设置中点击Switch开关开启才能往Slot中拖组件

To Reproduce (required) / 如何复现 bug?(必填,非常重要)

SlotSetter设置

{
    name: 'children4',
    title: 'children4',
    setter: {
      componentName: 'SlotSetter',
      isRequired: true,
      title: 'children4',
      initialValue: {
        type: 'JSSlot',
        value: [],
      },
    }
  }

image

Environments (please complete the following information) (required): / 请提供如下信息(必填)

  • AliLowCodeEngineExt version: [e.g. 1.0.6] / 低代码引擎扩展包版本

ChiZng avatar Mar 07 '23 07:03 ChiZng