diff --git a/src/simple-flowchart/components/FlowchartNode.vue b/src/simple-flowchart/components/FlowchartNode.vue index d885f3c..bd8a65b 100644 --- a/src/simple-flowchart/components/FlowchartNode.vue +++ b/src/simple-flowchart/components/FlowchartNode.vue @@ -10,12 +10,12 @@ - + - + diff --git a/src/views/Dashboard.vue b/src/views/Dashboard.vue index 6bed34f..9a2f5de 100644 --- a/src/views/Dashboard.vue +++ b/src/views/Dashboard.vue @@ -217,6 +217,14 @@ export default { original_node.apiId = resp.data.id; } + if (resp.data.resource_type === 1) { + new_node.data.url = resp.data.url; + original_node.data.url = resp.data.url; + + new_node.data.streamkey = resp.data.stream_key; + original_node.data.streamkey = resp.data.stream_key; + } + return resolve(); }).catch(reject);