Showing
1 changed file
with
2 additions
and
0 deletions
| ... | @@ -517,6 +517,7 @@ | ... | @@ -517,6 +517,7 @@ |
| 517 | > | 517 | > |
| 518 | <div class="preview-container"> | 518 | <div class="preview-container"> |
| 519 | <vue-flow-editor-form | 519 | <vue-flow-editor-form |
| 520 | + v-if="rawFlowData" | ||
| 520 | ref="editor1" | 521 | ref="editor1" |
| 521 | :height="state.window_height" | 522 | :height="state.window_height" |
| 522 | :data="rawFlowData" | 523 | :data="rawFlowData" |
| ... | @@ -800,6 +801,7 @@ export default { | ... | @@ -800,6 +801,7 @@ export default { |
| 800 | 801 | ||
| 801 | const getFlowData = async (flow_id: any) => { | 802 | const getFlowData = async (flow_id: any) => { |
| 802 | flowData.value = null; | 803 | flowData.value = null; |
| 804 | + rawFlowData.value = null; | ||
| 803 | state.reloadLoading = true; // 打开loading | 805 | state.reloadLoading = true; // 打开loading |
| 804 | const { code, data } = await flowNodesAPI({ flow_id }); | 806 | const { code, data } = await flowNodesAPI({ flow_id }); |
| 805 | if (code) { | 807 | if (code) { | ... | ... |
-
Please register or login to post a comment