alibaba/lowcode-engine

SlotSetter设置params属性时样式错乱无法展示完全

Open

#938 opened on Aug 11, 2022

View on GitHub
 (1 comment) (0 reactions) (0 assignees)TypeScript (12,714 stars) (2,228 forks)batch import
help wanted

Description

复现截图

设置SlotSetter时样式错乱

复现流程与链接

{
        title: {
          label: {
            type: 'i18n',
            'en-US': 'children',
            'zh-CN': '内容',
          },
          tip: 'children | 内容',
        },
        name: 'children',
        description: '内容',
        setter: {
          componentName: 'ArraySetter',
          props: {
            itemSetter: {
              componentName: 'SlotSetter',
              props: {
                mode: 'node',
              },
              isRequired: false,
              initialValue: {
                type: 'JSSlot',
                params: ['value'],
                value: [],
              },
            },
          },
          isRequired: true,
          initialValue: [
            {
              type: 'JSSlot',
              params: ['value'],
              value: [],
            },
          ],
        },
      },

期望结果

可以将入参展示完全

环境信息

  • 引擎版本 1.0.11
  • ext 版本 1.0.3
  • 物料
    • moment﹫2.24.0
    • lodash
    • iconfont-icons
    • ﹫ant-design/icons﹫4.7.0
    • ﹫alifd/next﹫1.23.0

Contributor guide