Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

Recent questions tagged 请教个slot-scope

0 votes
2.3k views
1 answer
    父组件 <div style="width:100%;height:auto;background:red"> <slot :default="nav"></slot> </div> data() { return { nav:[] } }, methods:{ ... ="bbb" 这个bbb也是自己随便取的名 和 父组件slot的名字也不相关吗?...
asked Jan 27, 2021 in Technique[技术] by 深蓝 (71.8m points)
To see more, click for the full list of questions or popular tags.
Ask a question:
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

57.0k users

...