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: 修复脚本报错后重试后,脚本内容错误渲染问题 #7433 #7437

Conversation

lTimej
Copy link
Collaborator

@lTimej lTimej commented Apr 25, 2024

No description provided.


need_render_data = node_info.get("component", {}).get("data", {})
for k, v in need_render_data.items():
if "need_render" in v and not v["need_render"] and k in inputs:
Copy link
Collaborator

Choose a reason for hiding this comment

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

if v.get("need_render") is False and k in inputs

@normal-wls normal-wls merged commit 32e0f5d into TencentBlueKing:release_3.32.2_by_master May 29, 2024
6 checks passed
normal-wls pushed a commit to normal-wls/bk-sops that referenced this pull request May 30, 2024
* fix: 修复脚本报错后重试后,脚本内容错误渲染问题 TencentBlueKing#7433

* fix: 修复脚本报错后重试后,脚本内容错误渲染问题 TencentBlueKing#7433
normal-wls pushed a commit to normal-wls/bk-sops that referenced this pull request May 30, 2024
* fix: 修复脚本报错后重试后,脚本内容错误渲染问题 TencentBlueKing#7433

* fix: 修复脚本报错后重试后,脚本内容错误渲染问题 TencentBlueKing#7433
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug 缺陷
Projects
None yet
Development

Successfully merging this pull request may close these issues.

报错后重试, 脚本中的 ${1} 被渲染成了 1
2 participants