Skip to content

Commit

Permalink
* dtable: fix ignoreNextClick not work.
Browse files Browse the repository at this point in the history
  • Loading branch information
catouse committed Aug 2, 2024
1 parent 6976e82 commit 72c2169
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/dtable/src/plugins/mousemove/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ const mousemovePlugin: DTablePlugin<DTableMousemoveTypes> = {
},
methods: {
ignoreNextClick(timeout = 10) {
window.setTimeout(() => {
this.data.ignoreNextClick = window.setTimeout(() => {
this.data.ignoreNextClick = undefined;
}, timeout);
},
Expand Down

0 comments on commit 72c2169

Please sign in to comment.