tiny-engine icon indicating copy to clipboard operation
tiny-engine copied to clipboard

🐛 [Bug]: 表格组件(tiny-grid)为新增列属性添加默认值,响应性未触发问题

Open langyjn opened this issue 1 year ago • 1 comments

Environment

chrome

Version

latest

Version

latest

Link to minimal reproduction

none

Step to reproduce

  1. 修改tiny-grid组件物料协议,为列属性增加一个默认值(defaultValue) 1
  2. 画布编辑表格组件,新增一列,可见默认值没有同步到画布和编辑组件中,这里因该要做同步处理 2
  3. 修改属性后值,才能响应式同步 3

如果把属性值改为空,该属性输入框的值又会变回默认值,此处值绑定有问题

What is expected

No response

What is actually happening

No response

What is your project name

tiny-engine develop

Any additional comments (optional)

No response

langyjn avatar Aug 28 '24 10:08 langyjn

Bot detected the issue body's language is not English, translate it automatically.


Title: 🐛 [Bug]: The table component (tiny-grid) adds a default value for the new column attribute, and the responsiveness does not trigger the problem

Issues-translate-bot avatar Aug 28 '24 10:08 Issues-translate-bot