- 当前 Bug 的表现(可附上截图)
测试机为华为mate10 ALP-AL00, Android 9;
当页面中存在scroll-view中同时内嵌 <input> 和 <swiper> 标签时,小程序运行几秒之后闪退
- 预期表现
- 复现路径
- 提供一个最简复现 Demo
<scroll-view style=“width: 100%; flex-grow:5; margin-bottom:70px;”>
<view class="weui-search-bar" style="width: 100%;">
<view class="weui-search-bar__form">
<view class="weui-search-bar__box">
<input type="text" placeholder="搜索" />
</view>
</view>
</view>
<swiper indicator-dots="{{indicatorDots}}" autoplay="{{autoplay}}" circular="{{circular}}" vertical="{{vertical}}" interval="{{interval}}" duration="{{duration}}">
<block wx:for="{{swiperUrls}}">
<swiper-item>
<image src="{{item}}" width="355" height="150" />
</swiper-item>
</block>
</swiper>
</scroll-view>
测试华为Nova3e未复现问题,可以先监听内存情况https://developers.weixin.qq.com/miniprogram/dev/api/device/performance/wx.onMemoryWarning.html