dcloudio / dcloudio/uni-app

skyline模式下无法获取list-builder组件的slot数据

Open
#5,103 1 comment 2 reactions 0 assignees View on GitHub
mp uni api
Dominant language
JavaScript
Stars
41.6k
Forks
3.7k
Avg merge
7h 6m
Merged PRs (30d)
6

Description

微信小程序启用了skyline渲染模式,其中使用了scroll-view和list-builder组件。
[微信小程序官方文档中使用的时候可以通过插槽来指明传入的数据](https://developers.weixin.qq.com/miniprogram/dev/component/list-builder.html)
但是在uniapp不懂怎么使用,按照示例文档用会被过滤掉,没有编译出来
```



{{ item }}




```
编译后结果
```
{{ c }}
```
其中view标签及paragraph 组件都是无法获取到list-builder传递的item及index
猜测是写法错误了,期望有大佬可以帮忙解答下!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.