We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0caa640 commit f33b663Copy full SHA for f33b663
lib/components/table.vue
@@ -49,10 +49,6 @@
49
},
50
51
props: {
52
- rowClick: {
53
- type: Function,
54
- default: null
55
- },
56
items: {
57
type: Array,
58
default: () => []
@@ -142,9 +138,7 @@
142
138
143
139
methods: {
144
140
rowClicked(item, index) {
145
- if (this.rowClick) {
146
- this.rowClick(item, index);
147
- }
141
+ this.$emit('row-clicked', item, index);
148
149
headClick(field, key) {
150
if (!field.sortable) {
0 commit comments