💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、豆包、星火、月之暗面及文生图、文生视频 广告
>使用作用域插槽 >[success]好处:子组件可以向父组件传递数据 1.将子组件的数据传递给父组件 ~~~ <slot wx:for='item of list' :item='item'><slot> ~~~ 2.在父组件要传递给插件中的html中使用数据 ~~~ <template slot-scope="props"> <p>{{props.item}}</p> </template> ~~~