Skip to content

fix: 循环子流程mock时隐藏输出参数配置 --story=135418928 - #842

Merged
Mianhuatang8 merged 1 commit into
TencentBlueKing:develop_subcanvasfrom
Mianhuatang8:dev_hide_subflow_loop_mock_plugin_detail
Jul 30, 2026
Merged

fix: 循环子流程mock时隐藏输出参数配置 --story=135418928#842
Mianhuatang8 merged 1 commit into
TencentBlueKing:develop_subcanvasfrom
Mianhuatang8:dev_hide_subflow_loop_mock_plugin_detail

Conversation

@Mianhuatang8

Copy link
Copy Markdown
Collaborator

Reviewed, transaction id: 83678

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review Summary

这是一个小型防御性修复 PR,包含两处变更:

  1. MockSetting/index.vue:循环节点(loop_config.enable)场景下,跳过输出变量处理,直接置空 outputs,避免循环节点输出变量不适用时的异常。逻辑清晰,finally 块仍能正确重置 subFlowLoading
  2. TemplateMock/index.vue:对 onShowNodeConfig 增加 activities[id] 存在性校验,防止点击非 activity 节点(如网关、汇聚节点)时的空引用。

✅ 无 Critical / Important 级别问题,变更简洁且符合项目规范。

@Mianhuatang8
Mianhuatang8 merged commit aaec650 into TencentBlueKing:develop_subcanvas Jul 30, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants