Skip to content

Commit

Permalink
remove selected dblclick for details row
Browse files Browse the repository at this point in the history
  • Loading branch information
cenfun committed Jun 20, 2024
1 parent f27aba4 commit 10d2a97
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/app/src/components/detail/detail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,10 @@ const getGrid = () => {
});
grid.bind('onDblClick', (e, d) => {
grid.setRowSelected(d.rowItem);
const { rowItem } = d;
if (rowItem && !rowItem.hasDetails) {
grid.setRowSelected(d.rowItem);
}
});
// grid.bind('onRowExpanded onRowCollapsed', (e, d) => {
Expand Down

0 comments on commit 10d2a97

Please sign in to comment.