File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import { getMousePosition, getViewportOffset } from "../../src/utils/dom";
66import {
77 INIT_DATA ,
88 EMIT_EVENTS ,
9- CONTEXTMENU_TYPES ,
9+ CONTEXTMENU_NODE_TYPES ,
1010 INSTANCE_METHODS ,
1111} from "./util/constant" ;
1212import { getRandomId } from "../../src/utils/random" ;
@@ -637,7 +637,7 @@ export default {
637637
638638 if (
639639 menu . type !==
640- CONTEXTMENU_TYPES . SEPARATOR
640+ CONTEXTMENU_NODE_TYPES . SEPARATOR
641641 ) {
642642 contextmenuNodeProps = {
643643 class : {
@@ -692,7 +692,7 @@ export default {
692692
693693 if (
694694 menu . type !==
695- CONTEXTMENU_TYPES . SEPARATOR
695+ CONTEXTMENU_NODE_TYPES . SEPARATOR
696696 ) {
697697 return (
698698 < li { ...contextmenuNodeProps } >
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ export const INIT_DATA = {
1818} ;
1919
2020// contextmenu types
21- export const CONTEXTMENU_TYPES = {
21+ export const CONTEXTMENU_NODE_TYPES = {
2222 // Separator
2323 SEPARATOR : "SEPARATOR" ,
2424} ;
You can’t perform that action at this time.
0 commit comments