alibaba / alibaba/lowcode-engine

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

Open
#938 1 comment 0 reactions 0 assignees View on GitHub
help wanted
Dominant language
TypeScript
Stars
15.9k
Forks
2.7k
PR merge metrics
No merged PRs in 30d

Description

## 复现截图
设置SlotSetter时样式错乱
image

## 复现流程与链接
```
{
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: [],
},
],
},
},
```
## 期望结果
可以将入参展示完全
image

## 环境信息

- 引擎版本 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.