update Table @on-contentmenu event params
This commit is contained in:
parent
0b7430090d
commit
617ece1b3e
3 changed files with 6 additions and 5 deletions
|
@ -699,11 +699,11 @@
|
|||
this.$emit('on-row-dblclick', JSON.parse(JSON.stringify(this.cloneData[_index])), _index);
|
||||
}
|
||||
},
|
||||
contextmenuCurrentRow (_index, rowKey) {
|
||||
contextmenuCurrentRow (_index, rowKey, event) {
|
||||
if (rowKey) {
|
||||
this.$emit('on-contextmenu', JSON.parse(JSON.stringify(this.getBaseDataByRowKey(rowKey))));
|
||||
this.$emit('on-contextmenu', JSON.parse(JSON.stringify(this.getBaseDataByRowKey(rowKey))), event);
|
||||
} else {
|
||||
this.$emit('on-contextmenu', JSON.parse(JSON.stringify(this.cloneData[_index])), _index);
|
||||
this.$emit('on-contextmenu', JSON.parse(JSON.stringify(this.cloneData[_index])), event);
|
||||
}
|
||||
},
|
||||
getSelection () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue