diff --git a/src/pages/Setting/Flow/index.tsx b/src/pages/Setting/Flow/index.tsx index f837ec85811962e305aee42c33b761d6ba0b3274..0a282bfa8cd1d0a803fdb166280ac4bd0af3a3b6 100644 --- a/src/pages/Setting/Flow/index.tsx +++ b/src/pages/Setting/Flow/index.tsx @@ -447,7 +447,7 @@ const Flow = () => { const onSave = () => { const metaData = - mode === "view" + mode === "edit" ? { ...flowMetaData.current, originalData: JSON.stringify(originalXNodesData.current), @@ -757,7 +757,7 @@ const Flow = () => {