Closed gaogao2017 closed 8 months ago
问题描述
taro-ui@3.2.0 AtRange 组件 在微信小程序插件中使用,onChange 取到的value值是[0,NaN],
期望行为 此bug是因为,taro3.x 中小程序和小程序插件获取元素方式不一致,taro-ui delayQuerySelector函数未对小程序插件获取元素方式做处理造成的,如下图所示,应改为判断是不是小程序插件,如果是则获取元素方式改成:Taro.createSelectorQuery().in(getCurrentInstance().page);请尽快解决发包,谢谢!
系统信息
欢迎提交 Issue~
如果你提交的是 bug 报告,请务必遵循 Issue 模板的规范,尽量用简洁的语言描述你的问题,最好能提供一个稳定简单的复现。🙏🙏🙏
如果你的信息提供过于模糊或不足,或者已经其他 issue 已经存在相关内容,你的 issue 有可能会被关闭。
Good luck and happy coding~
问题描述
taro-ui@3.2.0 AtRange 组件 在微信小程序插件中使用,onChange 取到的value值是[0,NaN],
期望行为 此bug是因为,taro3.x 中小程序和小程序插件获取元素方式不一致,taro-ui delayQuerySelector函数未对小程序插件获取元素方式做处理造成的,如下图所示,应改为判断是不是小程序插件,如果是则获取元素方式改成:Taro.createSelectorQuery().in(getCurrentInstance().page);请尽快解决发包,谢谢!
系统信息