Browse Source

fix bug: context menu

Alsmile 1 year ago
parent
commit
0c63e1f345
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/components/ContextMenu.vue

+ 1 - 1
src/views/components/ContextMenu.vue

@@ -123,7 +123,7 @@ const onMenu = (val: string) => {
     case 'cut':
     case 'copy':
     case 'paste':
-      meta2d[val]();
+      (meta2d as any)[val]();
       break;
     case 'group':
       meta2d.combine(meta2d.store.active);