From 08e0acff28bd55b28c177915b0a369a34f680dfe Mon Sep 17 00:00:00 2001 From: v_xugzhou <941071842@qq.com> Date: Thu, 28 Nov 2024 10:17:46 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=A4=84=E7=90=86=E8=8A=82=E7=82=B9?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E4=B8=8D=E5=AD=98=E5=9C=A8plugin=5Fversion?= =?UTF-8?q?=E6=83=85=E5=86=B5=20--story=3D120926155=20#=20Reviewed,=20tran?= =?UTF-8?q?saction=20id:=2025109?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/task/TaskExecute/ExecuteInfo.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) => {