Explorar el Código

fix: 修改bug

bill hace 2 años
padre
commit
6d5dd1ec1f
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  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)) {