回到顶部
发布于 4 年前 作者 dfeng 9005 次浏览 来自 问答
  • 当前 Bug 的表现(可附上截图)

当使用

<template is="{{templeteName}}" data=’{{…data}}’/>

引入数据时,在

<template name=“musicList”>

</template>

中,scroll-top失效,分页的话,会返回第一个的尾部,而不是顶部

  • 预期表现

scroll-top不失效,能回到顶部

1 回复

你好,请提供出现问题的机型和微信版本,以及能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。

回到顶部