tiny-engine
tiny-engine copied to clipboard
🐛 [Bug]: 表格组件(tiny-grid)预览/出码时,单元格插槽样式丢失问题
Environment
chrome
Version
latest
Version
latest
Link to minimal reproduction
none
Step to reproduce
- 画布配置一个表格(tiny-grid),选择一列添加插槽,拖入一个text组件,更改text组件的文字颜色
- 点击预览,如截图,text组件颜色样式丢失
- 查看出码,插槽使用render jsx方式渲染,页面样式有scoped属性,这里因该为slots手动增加scopeId
- 否则样式不生效
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
Bot detected the issue body's language is not English, translate it automatically.
Title: 🐛 [Bug]: When previewing/exporting the table component (tiny-grid), the cell slot style is lost.
@langyjn 感谢反馈,这里 jsx 的出码方式的确不支持 scope css。官方研究一下能不能直接出码到 template。
Bot detected the issue body's language is not English, translate it automatically.
@langyjn Thanks for the feedback. The jsx coding method here does not support scope css. The official will study whether the code can be directly exported to the template.