Преглед на файлове

feat: add penEndHandler

gemercheung преди 1 година
родител
ревизия
b8fe06950f
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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);
   }
 });