- 当前 Bug 的表现(可附上截图)
当使用
<template is="{{templeteName}}" data='{{...data}}'/>
引入数据时,在
<template name="musicList">
</template>
中,scroll-top失效,分页的话,会返回第一个的尾部,而不是顶部
- 预期表现
scroll-top不失效,能回到顶部
问题模块 | 框架类型 | 问题类型 | API/组件名称 | 终端类型 | 微信版本 | 基础库版本 |
---|---|---|---|---|---|---|
API和组件 | 小程序 | Bug | template | 客户端 | 6.7.1 | 2.2.1 |
- 当前 Bug 的表现(可附上截图)
当使用
<template is="{{templeteName}}" data='{{...data}}'/>
引入数据时,在
<template name="musicList">
</template>
中,scroll-top失效,分页的话,会返回第一个的尾部,而不是顶部
- 预期表现
scroll-top不失效,能回到顶部
你好,请提供出现问题的机型和微信版本,以及能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。
wechatide://minicode/eK01S2mz7i2d
你好,你这里要传数据进去才可以的![]()
多谢多谢~