Commit 9d55af45 authored by 邓超's avatar 邓超

fix: 工作六编辑器切换文字消失

parent 7dd0d1f5
Pipeline #62548 failed with stages
...@@ -188,6 +188,9 @@ const Workflow = () => { ...@@ -188,6 +188,9 @@ const Workflow = () => {
GetFlowNode({ flowID: prop[0] }).then(res => { GetFlowNode({ flowID: prop[0] }).then(res => {
setChartLoading(false); setChartLoading(false);
if (res.code === 0) { if (res.code === 0) {
res.data.Nodes.forEach(item => {
item.nodeDetail = JSON.stringify(item);
});
setFlowData(res.data); setFlowData(res.data);
} else { } else {
setFlowData({ Nodes: [], Lines: [] }); setFlowData({ Nodes: [], Lines: [] });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment