Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: 处理节点配置不存在plugin_version情况 --story=120926155 #74

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions frontend/src/views/task/TaskExecute/ExecuteInfo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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格式
Expand Down Expand Up @@ -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) => {
Expand Down
Loading