opentiny / opentiny/tiny-engine
hidden": "{{ $rootData.color !== "primary" }}", // $rootData表示全部数据, $parentData表示父级数据
Open
Nobody has claimed this yet.
- Dominant language
- Vue
- Stars
- 2.8k
- Forks
- 476
- Avg merge
- 17h 35m
- Merged PRs (30d)
- 1
Description
Environment
怎么查看 $rootData, $parentData
Version
latest
Version
latest
Link to minimal reproduction
https://opentiny.design/tiny-engine#/protocol
Step to reproduce
组件元数据示例
What is expected
查看 $rootData表示全部数据, $parentData表示父级数据
What is actually happening
在哪里获取$rootData表示全部数据, $parentData表示父级数据,设置后怎么没发现编译成条件
What is your project name
test
Any additional comments (optional)
11
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
Start with the component metadata example and the reproduction at https://opentiny.design/tiny-engine#/protocol. Trace how $rootData and $parentData are handled during compilation, then verify whether the configured condition is emitted as expected. Done means the variable meanings and resulting conditional compilation behavior are documented or corrected.
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
- Needs clarification
- Newbie friendliness
- 25/100