Skip to content
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

vue3 小程序scrollview @dragging 失效问题 #3921

Closed
lxfljw opened this issue Oct 13, 2022 · 2 comments
Closed

vue3 小程序scrollview @dragging 失效问题 #3921

lxfljw opened this issue Oct 13, 2022 · 2 comments
Assignees
Labels
bug Something isn't working mp-weixin 微信小程序 vue3

Comments

@lxfljw
Copy link

lxfljw commented Oct 13, 2022

问题描述
开发模式下,scrollview 组件的事件 @dragging="handleDragging",会被编译成 binddragging="{{ j }}",但是拖拽并未生效

复现步骤

<scroll-view @dragging="handleDragging"></scroll-view>
handleDragging(e) {
  console.log(e)
}

预期结果
handleDragging 函数触发

实际结果
handleDragging 函数无效,实测vue2模板下有效,本次是从 vue2模板升级到vue3模板出现的问题

系统信息:
与系统无关

备注
所有注册的拖拽事件都有问题

@fxy060608 fxy060608 self-assigned this Oct 13, 2022
@fxy060608 fxy060608 added bug Something isn't working vue3 mp-weixin 微信小程序 labels Oct 13, 2022
@fxy060608
Copy link
Collaborator

HBuilderX Alpha 3.6.7 已修复

@lxfljw
Copy link
Author

lxfljw commented Nov 8, 2022

HBuilderX Alpha 3.6.7 已修复

感谢回复,请问 cli编译 有没有修复

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working mp-weixin 微信小程序 vue3
Projects
None yet
Development

No branches or pull requests

2 participants