alibaba / alibaba/lowcode-engine
SlotSetter设置params属性时样式错乱无法展示完全
- Dominant language
- TypeScript
- Stars
- 15.9k
- Forks
- 2.7k
- PR merge metrics
- No merged PRs in 30d
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
No contributing guide indexed for this repository
Research direction
Start by reproducing the issue with the provided ArraySetter and SlotSetter configuration, using SlotSetter mode "node" and params ['value']. Inspect the SlotSetter rendering path and its handling of the params property. Done means the complete input is displayed without the style distortion shown in the first screenshot.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100