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

feat: 变量的默认值支持为空 #3551

Merged

Conversation

Ambition9186
Copy link
Contributor

No description provided.

@@ -38,10 +38,15 @@ func (m *TemplateVariableSpec) TemplateVariableSpec() *table.TemplateVariableSpe
}

return &table.TemplateVariableSpec{
Copy link
Collaborator

Choose a reason for hiding this comment

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

这里需要考虑下,默认值支持为空,那用户生成版本渲染变量的时候就不能直接用:
image

@AlkaidChan AlkaidChan merged commit d7cfb2b into TencentBlueKing:master Oct 9, 2024
13 of 14 checks passed
evanlixin added a commit that referenced this pull request Oct 10, 2024
* github-bk-bcs/master:
  feat: 变量的默认值支持为空 (#3557)
  fix: 修复kv类型通过http获取时没有更新拉取时间 (#3556)
  feat: 支持HTTP(S)接口拉取文件型配置 (#3527)
  feat: 变量的默认值支持为空 (#3551)
  fix: 1.自动打开规则配置抽屉;2.规则配置抽屉展示当前服务且不可更改服务;3.节点管理服务标签复制icon位置变更;4.部分样式调整… (#3554)
  feat: 分组标签选择器Key支持内置标签下拉 --story=119955961 (#3553)
  fix: 文字展示内容过长hover补全--bug=131500439  (#3552)
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