chenxuan0000 / vue-seamless-scroll

:beginner:A simple, seamless scrolling for Vue.js vue无缝滚动component
https://chenxuan0000.github.io/vue-seamless-scroll/
MIT License
1.83k stars 332 forks source link

ul2里面的 click 事件丢失了 #118

Closed gongdongtao closed 4 years ago

gongdongtao commented 4 years ago

当需要对每个li添加点击事件时,发现ul2中的点击事件丢失了,点击无效

lcy813306986 commented 4 years ago

这个怎么处理呢?

gongdongtao commented 4 years ago

这个怎么处理呢?

目前我是通过给li下的每个元素都定义:data-record,然后通过事件委托解决的

chenxuan0000 commented 4 years ago

https://github.com/chenxuan0000/vue-seamless-scroll/blob/master/issuses/problem1.md