alibaba/lowcode-engine

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

Aperta

#938 aperta il 11 ago 2022

 (1 commento) (0 reazioni) (0 assegnatari)TypeScript (2228 fork)batch import
help wanted

Metriche repository

Star
 (12.714 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

复现截图

设置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

Guida contributor