diff --git a/ui/src/App.vue b/ui/src/App.vue index d59d59725..3ed4b37bf 100644 --- a/ui/src/App.vue +++ b/ui/src/App.vue @@ -4,6 +4,4 @@ - + diff --git a/ui/src/views/application-workflow/index.vue b/ui/src/views/application-workflow/index.vue index ca4bf1703..aee004d0e 100644 --- a/ui/src/views/application-workflow/index.vue +++ b/ui/src/views/application-workflow/index.vue @@ -150,8 +150,14 @@ const clickShowDebug = () => { } }) .catch((res: any) => { - const keys = Object.keys(res) - MsgError(res[keys[0]]?.[0]?.message) + const node = res.node + const err_message = res.errMessage + if (typeof err_message == 'string') { + MsgError(res.node.properties?.stepName + '节点 ' + err_message) + } else { + const keys = Object.keys(err_message) + MsgError(node.properties?.stepName + '节点 ' + err_message[keys[0]]?.[0]?.message) + } }) } function clickoutsideDebug() { diff --git a/ui/src/workflow/common/NodeCascader.vue b/ui/src/workflow/common/NodeCascader.vue index c67977bbd..d933f3fff 100644 --- a/ui/src/workflow/common/NodeCascader.vue +++ b/ui/src/workflow/common/NodeCascader.vue @@ -4,6 +4,7 @@ :options="options" @visible-change="visibleChange" v-bind="$attrs" + v-model="data" separator=" > " >