Skip to content

Commit dfa434d

Browse files
zwx-masterpeacewong
authored andcommitted
Workflow selection script executable
1 parent af788ec commit dfa434d

File tree

1 file changed

+1
-1
lines changed
  • web/src/js/module/workbench/workflow

1 file changed

+1
-1
lines changed

web/src/js/module/workbench/workflow/node.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ export default {
365365
});
366366
},
367367
getExecuteData(option, id) {
368-
this.script.executionCode = isString(option) ? option : this.script.data;
368+
this.script.executionCode = isString(option.code) ? option.code : this.script.data;
369369
let initData = {
370370
method: '/api/rest_j/v1/entrance/execute',
371371
websocketTag: this.work.id,

0 commit comments

Comments
 (0)