alibaba / alibaba/lowcode-engine
拖动组件初始化值的时候,没有还原到Setter中
- Dominant language
- TypeScript
- Stars
- 15.9k
- Forks
- 2.7k
- PR merge metrics
- No merged PRs in 30d
Description
**详细描述 bug(必填)**
cardStyle设置的StyleSetter
```
{
name: 'advanced1',
title: '卡片样式',
type: 'group',
display: 'entry',
items: [
{
name: 'cardStyle',
title: '样式设置',
display: 'block',
setter: {
componentName: "StyleSetter",
initialValue: {
width: '25px',
height: '25px',
fontSize: '14px',
color: '#ffffff',
backgroundColor: '#000000',
fontWeight: '500',
marginLeft: '2px',
marginRight: '2px',
}
},
defaultValue: {
width: '25px',
height: '25px',
fontSize: '14px',
color: '#ffffff',
backgroundColor: '#000000',
fontWeight: '500',
marginLeft: '2px',
marginRight: '2px',
}
}
],
},
```
点击卡片才会生成默认值,但是此时StyleSetter里面的样式没有还原出来(经过调试发现value值为undefined),第二次进入就有值了
**如何复现 bug?(必填,非常重要)**
**预期行为(必填,非常重要)**
**请清晰和精确的描述你预期的行为
---
**bug 截图(可选)**


**请提供如下信息(必填)**
**低代码引擎版本 1.1.11-beta.18
**低代码引擎扩展包版本 1.0.7-beta.4
**浏览器版本
**工具链版本
**更多额外信息(可选)**
**可以追加更多的额外信息,帮助定位问题
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.