Selaa lähdekoodia

feat: add penEndHandler

gemercheung 1 vuosi sitten
vanhempi
commit
b8fe06950f
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      src/components/query-board/index.vue

+ 1 - 1
src/components/query-board/index.vue

@@ -24,7 +24,7 @@ watch(containerRef, (container, _, onClanup) => {
   if (container) {
     const board = initBoard(container, storeData, false);
     console.log(board.tree);
-    window.board = board;
+    (window as any).board = board;
     onClanup(() => board.destory);
   }
 });