opentiny / opentiny/tiny-engine
🐛 [Bug]: 表格组件(tiny-grid)预览/出码时,单元格插槽样式丢失问题
Open
Nobody has claimed this yet.
bug
enhancement
- Dominant language
- Vue
- Stars
- 2.8k
- Forks
- 476
- Avg merge
- 17h 35m
- Merged PRs (30d)
- 1
Description
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue by configuring a tiny-grid cell slot with a text component, then compare preview behavior with the generated render JSX. Trace the slot rendering and scoped-style handling described in the issue; done means the text component’s color is preserved in preview and generated code.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100