slider组件在uni-app nvue中报错 TypeError: Cannot read property 'length' of undefined
slider组件在uni-app nvue中报错 TypeError: Cannot read property ‘length’ of undefined
开发环境 | 版本号 | 项目创建方式 |
---|---|---|
Windows | 22H2 | HBuilderX |
测试过的手机:
- OPPO R15 android 10
- iPhone6sPlus IOS15.1
示例代码:
<view>
<slider value="60" step="5" />
</view>
操作步骤:
<view>
<slider value="60" step="5" />
</view>
预期结果:
..
实际结果:
..
bug描述:
使用nvue文件 编写
<view>
<slider value="60" step="5" />
</view>
在设备上滑动,或输出报错 安卓端输出:TypeError: Cannot read property ‘length’ of undefined IOS端输出:TypeError: undefined is not an object (evaluating ‘e.touches.length’) __ERROR
更多关于slider组件在uni-app nvue中报错 TypeError: Cannot read property 'length' of undefined的实战教程也可以访问 https://www.itying.com/category-93-b0.html
1 回复