Jelajahi Sumber

fix: 修改bug

bill 2 tahun lalu
induk
melakukan
6d5dd1ec1f
2 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 1 1
      src/version.json
  2. 1 1
      src/views/draw-file/index.tsx

+ 1 - 1
src/version.json

@@ -2,5 +2,5 @@
   "env": "dev",
   "main": 1.2,
   "append": "alpha",
-  "version": 8
+  "version": 9
 }

+ 1 - 1
src/views/draw-file/index.tsx

@@ -65,7 +65,7 @@ export const DrawFile = () => {
         })
       }
     }
-  }, [pathId, boardData?.id, boardData, caseId])
+  }, [pathId, boardData?.id, boardData, caseId, pathType])
 
   useEffect(() => {
     if (JSON.stringify(path) !== JSON.stringify(pathRef.current)) {