Skip to content

Commit 466b328

Browse files
committed
refine
1 parent dcc5f3d commit 466b328

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

packages/ve-table/src/index.jsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2694,8 +2694,8 @@ export default {
26942694
};
26952695
},
26962696

2697-
// header contextmenu call back
2698-
headerContextmenuCallBack(type) {
2697+
// header contextmenu item click
2698+
headerContextmenuItemClick(type) {
26992699
const {
27002700
contextmenuHeaderOption,
27012701
cellSelectionData,
@@ -2783,8 +2783,8 @@ export default {
27832783
}
27842784
},
27852785

2786-
// body contextmenu call back
2787-
bodyContextmenuCallBack(type) {
2786+
// body contextmenu item click
2787+
bodyContextmenuItemClick(type) {
27882788
const {
27892789
contextmenuBodyOption,
27902790
cellSelectionData,
@@ -3893,7 +3893,7 @@ export default {
38933893
},
38943894
on: {
38953895
"on-node-click": (type) => {
3896-
this.headerContextmenuCallBack(type);
3896+
this.headerContextmenuItemClick(type);
38973897
},
38983898
},
38993899
};
@@ -3905,7 +3905,7 @@ export default {
39053905
},
39063906
on: {
39073907
"on-node-click": (type) => {
3908-
this.bodyContextmenuCallBack(type);
3908+
this.bodyContextmenuItemClick(type);
39093909
},
39103910
},
39113911
};

0 commit comments

Comments
 (0)