@@ -335,7 +335,7 @@ function renderFooterRows(_vm: any): any {
335335function renderRows ( _vm ) {
336336 const { $parent : $table , tableColumn, rowPool } = _vm
337337 const { afterFullData, editConfig, editStore, expandConfig = { } , expandeds, hasVirtualRow } = $table
338- const { rowClassName, rowGroup, scrollYLoad, scrollYStore, selection, treeConfig, treeOrdered } = $table
338+ const { rowClassName, rowGroup, scrollYLoad, scrollYStore, selection, treeConfig, treeOrdered, selectRow } = $table
339339 const expandMethod = expandConfig . activeMethod
340340 const startIndex = scrollYStore . startIndex
341341 const isOrdered = treeConfig ? ! ! treeOrdered : false
@@ -371,7 +371,7 @@ function renderRows(_vm) {
371371
372372 let args = { $rowIndex, $seq, $table, _vm, editStore, id, isSkipRowRender, row, rowActived, rowClassName }
373373
374- Object . assign ( args , { rowIndex, rowLevel, rowid, rows, selection, seq, treeConfig, used } )
374+ Object . assign ( args , { rowIndex, rowLevel, rowid, rows, selection, seq, treeConfig, used, selectRow } )
375375
376376 renderRow ( args )
377377
@@ -426,7 +426,7 @@ function renderRowAfter({ $table, _vm, row, rowIndex, rows, id, used }) {
426426
427427function renderRow ( args ) {
428428 const { $rowIndex, $seq, $table, _vm, editStore, id, isSkipRowRender, row, rowActived, rowClassName } = args
429- const { rowIndex, rowLevel, rowid, rows, selection, seq, treeConfig, used } = args
429+ const { rowIndex, rowLevel, rowid, rows, selection, selectRow , seq, treeConfig, used } = args
430430
431431 if ( isSkipRowRender ) {
432432 return
@@ -458,6 +458,7 @@ function renderRow(args) {
458458 [ `row__level-${ rowLevel } ` ] : treeConfig ,
459459 'row__new' : editStore . insertList . includes ( row ) ,
460460 'row__selected' : selection . includes ( row ) ,
461+ 'row__radio' : selectRow === row ,
461462 'row__actived' : rowActived
462463 } ,
463464 rowClassName
0 commit comments