@@ -270,11 +270,11 @@ export default {
}, 500)
},
RightClick2 (tr, td, x1, x2, y1, y2) {
- //console.log(event.target.id)
- let targetId = event.target.id;
+ //console.log(event.target.getAttribute("keyname"))
+ let targetkeyname = event.target.getAttribute("keyname");
let ekey = null;
- if(this.ekeyReg.test(targetId)){
- ekey = targetId.match(this.ekeyReg)[1]
+ if(this.ekeyReg.test(targetkeyname)){
+ ekey = targetkeyname.match(this.ekeyReg)[1]
}
this.table = {
tr,