We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
数字键盘没有监听鼠标事件,导致H5平台下数字键盘没有任何输出
文件位置wot-design-uni\components\wd-number-keyboard\key\index.vue
新增鼠标事件
<view :class="`wd-key-wrapper ${wider ? 'wd-key-wrapper--wider' : ''}`" @[clickStart]="onTouchStart" @[clickMove]="onTouchMove" @[clickEnd]="onTouchEnd"> ... </view>
<script setup> ... // #ifdef APP-PLUS const clickStart = 'touchstart' const clickMove = 'touchmove' const clickEnd = 'touchend' // #endif // #ifdef WEB const clickStart = 'mousedown' const clickMove = 'mousemove' const clickEnd = 'mouseup' // #endif ... </script>
The text was updated successfully, but these errors were encountered:
感谢您的建议。您提出的功能请求是为数字键盘增加鼠标事件处理,以解决在H5平台下数字键盘没有输出的问题。我们会将此请求记录下来,并在未来的版本中考虑实现。
如果您有其他问题或需要进一步的帮助,请随时在评论中描述您的问题并@petercat-assistant与我开始对话。
Sorry, something went wrong.
No branches or pull requests
这个功能解决了什么问题?
数字键盘没有监听鼠标事件,导致H5平台下数字键盘没有任何输出
你期望的 API 是什么样子的?
文件位置wot-design-uni\components\wd-number-keyboard\key\index.vue
新增鼠标事件
The text was updated successfully, but these errors were encountered: