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

feat(SwipeCell): add click event param #5679

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

johnsonwong666
Copy link
Collaborator

@@ -140,8 +140,10 @@ VantComponent({

onClick(event: WechatMiniprogram.TouchEvent) {
const { key: position = 'outside' } = event.currentTarget.dataset;
this.$emit('click', position);

this.$emit('click', {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

属于 break change,不能这么改

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里的 left 或者 right 不能判断出是那边显示出来的吗

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 this pull request may close these issues.

2 participants