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

list 组件lintap事件 点击list中的标签时,事件会触发两次。官方demo也有此问题 #989

Closed
juzihai opened this issue Jul 31, 2020 · 4 comments · Fixed by #994
Assignees
Labels
Bug 该 Issue 提出了一个 Bug List 列表组件 已解决:+1: Issue 已解决

Comments

@juzihai
Copy link

juzihai commented Jul 31, 2020

**LinUI版本(必填):**0.8.5

**设备(必填):**安卓

**基础库版本(必填):**2.10.3

UI问题,请附上截图

重现步骤,必要时请提供代码片段链接
** wxml**

** js **
clickListItem(e){
console.log("点击了",e.currentTarget.dataset.key)
},

@juzi214032 juzi214032 self-assigned this Jul 31, 2020
@juzi214032 juzi214032 added List 列表组件 待反馈:mag: Issue 等待反馈中…… labels Jul 31, 2020
@juzi214032
Copy link
Member

juzi214032 commented Jul 31, 2020

image

感谢反馈,这是一个已知bug,我们会尽快修复,您暂时可以通过event.detail的不同对两次事件做一下区分
给您带来的不便非常抱歉

@juzi214032 juzi214032 added the Bug 该 Issue 提出了一个 Bug label Jul 31, 2020
@juzi214032
Copy link
Member

关联 issue #687

@juzi214032 juzi214032 added 已解决:+1: Issue 已解决 and removed 待反馈:mag: Issue 等待反馈中…… labels Aug 4, 2020
@juzi214032
Copy link
Member

该问题已解决,将在下个版本更新

@juzi214032
Copy link
Member

0.8.7 版本已解决该问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug 该 Issue 提出了一个 Bug List 列表组件 已解决:+1: Issue 已解决
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants