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

SwipeCell 滑动单元格 beforeClose 参数触发无法判断指定按钮 #7631

Closed
li308870559 opened this issue Nov 25, 2020 · 2 comments · Fixed by #13039
Closed

SwipeCell 滑动单元格 beforeClose 参数触发无法判断指定按钮 #7631

li308870559 opened this issue Nov 25, 2020 · 2 comments · Fixed by #13039

Comments

@li308870559
Copy link

设备 / 浏览器
iphone6s

Vant 版本
2.6.3

Vue 版本
2.6.11

重现链接
本地开发,没有重现链接

描述问题
当使用 position | 关闭时的点击位置 (left right cell outside) 时,right存在两个以上按钮,分别对应不同业务。
如何进行区分不同按钮
image

@chenjiahan
Copy link
Member

可以单独监听这两个按钮的 click 事件

@doudouHubs
Copy link

可以单独监听这两个按钮的 click 事件

但是这样就没办法用beforeClose了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants