File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -177,6 +177,7 @@ function clickNodes(item: any, data?: any) {
177177 })),
178178 }
179179 }
180+ item [' properties' ][' condition' ] = ' OR'
180181 props .workflowRef ?.addNode (item )
181182
182183 emit (' clickNodes' , item )
@@ -188,6 +189,7 @@ function onmousedown(item: any, data?: any) {
188189 if (data .tool_type == ' DATA_SOURCE' ) {
189190 item [' properties' ].kind = WorkflowKind .DataSource
190191 }
192+
191193 item [' properties' ][' node_data' ] = {
192194 ... data ,
193195 tool_lib_id: data .id ,
@@ -197,6 +199,7 @@ function onmousedown(item: any, data?: any) {
197199 })),
198200 }
199201 }
202+ item [' properties' ][' condition' ] = ' OR'
200203 props .workflowRef ?.onmousedown (item )
201204 emit (' onmousedown' , item )
202205}
Original file line number Diff line number Diff line change @@ -199,8 +199,8 @@ function clickNodes(item: any, data?: any) {
199199 })),
200200 }
201201 }
202+ item [' properties' ][' condition' ] = ' OR'
202203 props .workflowRef ?.addNode (item )
203-
204204 emit (' clickNodes' , item )
205205}
206206
@@ -219,6 +219,7 @@ function onmousedown(item: any, data?: any) {
219219 })),
220220 }
221221 }
222+ item [' properties' ][' condition' ] = ' OR'
222223 props .workflowRef ?.onmousedown (item )
223224 emit (' onmousedown' , item )
224225}
You can’t perform that action at this time.
0 commit comments