diff --git a/frontend/src/views/task/TaskExecute/ExecuteInfo.vue b/frontend/src/views/task/TaskExecute/ExecuteInfo.vue index 9e4ae6c..cf007e1 100644 --- a/frontend/src/views/task/TaskExecute/ExecuteInfo.vue +++ b/frontend/src/views/task/TaskExecute/ExecuteInfo.vue @@ -526,7 +526,7 @@ }, // 补充记录缺少的字段 async setFillRecordField(record) { - const { version, component_code: componentCode, componentData } = this.nodeDetailConfig; + const { version, component_code: componentCode, componentData = {} } = this.nodeDetailConfig; const { inputs, state } = record; let { outputs } = record; // 执行记录的outputs可能为Object格式,需要转为Array格式 @@ -563,7 +563,7 @@ const { constants } = islegacySubProcess ? this.pipelineData : this.componentValue.pipeline; this.renderConfig = await this.getSubflowInputsConfig(constants); } else if (componentCode) { // 任务节点需要加载标准插件 - const pluginVersion = componentData.plugin_version.value; + const pluginVersion = componentData.plugin_version?.value; await this.getNodeConfig(componentCode, version, pluginVersion); } inputsInfo = Object.keys(inputs).reduce((acc, cur) => {