-
Notifications
You must be signed in to change notification settings - Fork 750
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[email protected] AtRange组件在小程序插件中 onChange获取的数据是NaN #1734
Comments
欢迎提交 Issue~ 如果你提交的是 bug 报告,请务必遵循 Issue 模板的规范,尽量用简洁的语言描述你的问题,最好能提供一个稳定简单的复现。🙏🙏🙏 如果你的信息提供过于模糊或不足,或者已经其他 issue 已经存在相关内容,你的 issue 有可能会被关闭。 Good luck and happy coding~ |
robinv8
added a commit
that referenced
this issue
Jan 19, 2024
robinv8
added a commit
that referenced
this issue
Jan 19, 2024
* fix(swipe-action): 修复在 h5 环境下点击事件失效的问题 * fix(tabs): 修复 h5 环境下样式报错的问题 * refactor(types): 完善类型声明 * chore: 修复在Windows环境下样式文件拷贝的路径分隔符问题 (#1752) 解决了在Windows环境下的路径分隔符问题,该问题导致样式文件无法正确拷贝。 Co-authored-by: xiayuxuan <[email protected]> * refactor(type): Add onChooseAvatar event handler to TaroButtonProps 相关问题:#1736 * fix: 解决小程序下无法获取元素信息的问题 相关问题:#1734 --------- Co-authored-by: Xia Yuxuan <[email protected]> Co-authored-by: xiayuxuan <[email protected]>
robinv8
added a commit
that referenced
this issue
Jan 24, 2024
# [](v3.2.2...v) (2024-01-24) ### Bug Fixes * **divider:** 解决单位编译不正确的问题 [#1725](#1725) ([3243e13](3243e13)) * **swipe-action:** 修复在 h5 环境下点击事件失效的问题 ([1ef87d2](1ef87d2)) * **tabs:** 修复 h5 环境下样式报错的问题 ([8ea0de3](8ea0de3)) * 解决小程序下无法获取元素信息的问题 ([8927199](8927199)), closes [#1734](#1734) * 解决未居中的问题 ([28e47b6](28e47b6)) ### Features * **indexes:** 右侧索引跟随滚动区域高亮 [#1693](#1693) ([0140a61](0140a61)) --------- Co-authored-by: Xia Yuxuan <[email protected]> Co-authored-by: xiayuxuan <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
问题描述
[email protected] AtRange 组件 在微信小程序插件中使用,onChange 取到的value值是[0,NaN],

期望行为

此bug是因为,taro3.x 中小程序和小程序插件获取元素方式不一致,taro-ui delayQuerySelector函数未对小程序插件获取元素方式做处理造成的,如下图所示,应改为判断是不是小程序插件,如果是则获取元素方式改成:Taro.createSelectorQuery().in(getCurrentInstance().page);请尽快解决发包,谢谢!
系统信息

The text was updated successfully, but these errors were encountered: