opentiny / opentiny/tiny-engine
🐛 [Bug]: 表格组件(tiny-grid)单元格插槽,暴露给插槽变量透传问题
Nobody has claimed this yet.
- 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
-
配置一个表格,选择一列配置插槽,暴露变量row,在插槽内拖入一个按钮
-
可见按钮组件入参能够绑定暴露变量row
-
但是点击按钮内的text组件,绑定变量不能选择到暴露变量row,可见暴露变量只出现在插槽的第一层组件,内部的组件选择不到暴露属性
-
但如果在text组件绑定变量时直接手输row.employee,是可以生效的,所以内部的组件也应该在变量菜单上加上
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
No source file or test is named. Start by reproducing the tiny-grid cell-slot scenario described in the issue, then trace how the exposed row variable is offered to the first-level button and to its nested text component. Done means nested components can select the exposed row variable from the variable menu, matching the existing manual row.employee binding.
Written by the indexing model from the issue text.
Assessment
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100