From fc37d5d37d7b40da7526fa76e4192ffe38d90fdd Mon Sep 17 00:00:00 2001 From: Cindy Chang Date: Thu, 4 Jul 2024 11:09:41 +0800 Subject: [PATCH] delete console --- src/stores/cytoscapeStore.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/stores/cytoscapeStore.ts b/src/stores/cytoscapeStore.ts index 384b399..70c8251 100644 --- a/src/stores/cytoscapeStore.ts +++ b/src/stores/cytoscapeStore.ts @@ -39,7 +39,6 @@ export default defineStore('useCytoscapeStore', { saveNodePosition(nodeId: string, position: NodePosition) { // 若是資訊曾經存在這張圖於localStorage中 if (localStorage.getItem(SAVE_KEY_NAME) && JSON.parse(localStorage.getItem(SAVE_KEY_NAME))[this.currentGraphId]) { - console.log('saveNodePosition ---- this.nodePositions[this.currentGraphId]',this.nodePositions[this.currentGraphId] ); const nodeToSave = this.nodePositions[this.currentGraphId].find(node => node.id === nodeId); if(nodeToSave) { nodeToSave.position = position;