|
@@ -166,6 +166,13 @@ export default {
|
|
|
* @description 勾选数据时触发的事件
|
|
* @description 勾选数据时触发的事件
|
|
|
*/
|
|
*/
|
|
|
handleSelect (selection, row) {
|
|
handleSelect (selection, row) {
|
|
|
|
|
+ if (this.selectionType === 'radio') {
|
|
|
|
|
+ this.setSelectionRadio(row)
|
|
|
|
|
+ this.$emit('selection-change', row)
|
|
|
|
|
+ console.log('172 row',row)
|
|
|
|
|
+ } else {
|
|
|
|
|
+ this.$refs.elTable.toggleRowSelection(row)
|
|
|
|
|
+ }
|
|
|
this.$emit('select', selection, row)
|
|
this.$emit('select', selection, row)
|
|
|
},
|
|
},
|
|
|
/**
|
|
/**
|