+
+ // console.log({
+ // num: this.num,
+ // type: obj.type,
+ // idx: idx + 1,
+ // })
+ // );
return mData;
},
@@ -478,7 +488,9 @@ export default {
},
shouldPasteShow(type) {
return (
- this.curShortCutObj.type && this.curShortCutObj.type.includes(type)
+ this.curShortCutObj &&
+ this.curShortCutObj.type &&
+ this.curShortCutObj.type.includes(type)
);
},
cellClassName({ row, column, rowIndex, columnIndex }) {