File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
src/components/Table/src/hooks Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -387,6 +387,9 @@ export function useCustomSelection(
387
387
key = { 'j-select__' + recordKey }
388
388
checked = { selectedKeys . value . includes ( recordKey ) }
389
389
onUpdate :checked = { ( checked ) => onSelect ( record , checked ) }
390
+ // update-begin--author:liaozhiyang---date:20230326---for:【QQYUN-8694】BasicTable在使用clickToRowSelect=true下,selection-change 事件在触发多次
391
+ onClick = { ( e ) => e . stopPropagation ( ) }
392
+ // update-end--author:liaozhiyang---date:20230326---for:【QQYUN-8694】BasicTable在使用clickToRowSelect=true下,selection-change 事件在触发多次
390
393
/>
391
394
) ;
392
395
}
@@ -412,6 +415,9 @@ export function useCustomSelection(
412
415
key = { 'j-select__' + recordKey }
413
416
checked = { selectedKeys . value . includes ( recordKey ) }
414
417
onUpdate :checked = { ( checked ) => onSelect ( record , checked ) }
418
+ // update-begin--author:liaozhiyang---date:20230326---for:【QQYUN-8694】BasicTable在使用clickToRowSelect=true下,selection-change 事件在触发多次
419
+ onClick = { ( e ) => e . stopPropagation ( ) }
420
+ // update-end--author:liaozhiyang---date:20230326---for:【QQYUN-8694】BasicTable在使用clickToRowSelect=true下,selection-change 事件在触发多次
415
421
/>
416
422
) ;
417
423
}
You can’t perform that action at this time.
0 commit comments