Skip to content

a wrong introduce in table component direction #1397

@daixixidai

Description

@daixixidai
  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

1.4.4

Environment

win10 pro 1703 chrome 70 vue 2.9.6

Reproduction link

https://www.antdv.com/components/table/#customRow-usage

Steps to reproduce

{ return { props: { xxx... }, on: { click: (event) => {}, // click row doubleclick: (event) => {}, // double click row WRONG!!SHOULD BE 'dblclick' contextmenu: (event) => {} // right button click row mouseenter: (event) => {} // mouse enter row mouseleave: (event) => {} // mouse leave row }, }; )} customHeaderRow={(column) => { return { on: { click: () => {}, // click header row }, }; )} />

What is expected?

update the guide document correct

What is actually happening?

doubleclick event didn't work ifI write the example code


the doubleclick event should be wrote as 'dblclick' rather than 'doubleclick'.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions