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

任务未执行节点预览时免渲染表单项中变量仍被渲染 #7358

Open
normal-wls opened this issue Feb 21, 2024 · 0 comments · May be fixed by #7383
Open

任务未执行节点预览时免渲染表单项中变量仍被渲染 #7358

normal-wls opened this issue Feb 21, 2024 · 0 comments · May be fixed by #7383
Assignees

Comments

@normal-wls
Copy link
Collaborator

normal-wls commented Feb 21, 2024

复现路径:

  1. 选择 job 快速执行脚本节点,脚本中引用变量 ${hello}(新建的脚本表单项默认被设置为免渲染)
  2. 创建自定义变量 ${hello},输入默认值
  3. 新建任务,不执行,点击节点查看,${hello}会被渲染成默认值,执行时不影响。

原因:
在插件表单中,如果表单不需要渲染,可以由用户勾选免渲染按钮,特别地,job 插件的脚本类型在新版本都默认改成免渲染。在预览的时候,没有对字段进行处理。
image

@normal-wls normal-wls added the type/bug 缺陷 label Feb 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment