Skip to content

Commit 5d695a4

Browse files
committed
Workflow selection script executable
1 parent 30e481e commit 5d695a4

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)