|
|
@ -21,7 +21,7 @@ |
|
|
|
v-model="state.currRow.selected" |
|
|
|
flat |
|
|
|
dense |
|
|
|
@update:model-value="selectedFun(state.currRow.selected, state.currRow)" |
|
|
|
@update:model-value="selectedFun(state.currRow.selected, row)" |
|
|
|
/> |
|
|
|
<!--图标--> |
|
|
|
<q-icon v-if="typeof iconComputed === 'string'" :name="iconComputed" size="20px" class="px-1"></q-icon> |
|
|
@ -279,5 +279,8 @@ const click = (evt, row, rowIndex) => { |
|
|
|
}); |
|
|
|
table.selected.splice(0, table.selected.length); |
|
|
|
selectedFun(true, row); |
|
|
|
if (props.gridProps.onRowClick) { |
|
|
|
props.gridProps.onRowClick(evt, row, rowIndex); |
|
|
|
} |
|
|
|
}; |
|
|
|
</script> |
|
|
|