halo icon indicating copy to clipboard operation
halo copied to clipboard

插件中元数据表单定义,会重复渲染表单项

Open liuyiwuqing opened this issue 1 year ago • 1 comments

系统信息

  • 外部访问地址: http://localhost:8090
  • 启动时间: 2024-02-06 20:50
  • 版本: 2.11.2
  • 构建时间: 2023-12-07 16:29
  • Git Commit: 97b5f72
  • Java: IBM Semeru Runtime Open Edition / 17.0.9+9
  • 数据库: H2 / 2.2.224
  • 操作系统: Linux / 6.6.12-linuxkit

使用的哪种方式运行?

Docker Compose

在线站点地址

No response

发生了什么?

在插件中使用元数据表单定义时,首次启动变单项渲染成功,重启之后变单项会重复渲染,渲染次数随启动次数递增 参考文档:元数据表单定义 image

相关日志输出

No response

附加信息

No response

liuyiwuqing avatar Feb 06 '24 13:02 liuyiwuqing

Hi @liuyiwuqing ,thank you for reaching out here!

实际上,文档中给出的示例有问题,不应当使用 generateName。建议你直接使用特定的 name。

/kind bug /area docs

JohnNiang avatar Feb 06 '24 14:02 JohnNiang

已经在 https://github.com/halo-dev/docs/pull/314 中修改。

/close

ruibaby avatar Feb 29 '24 09:02 ruibaby

@ruibaby: Closing this issue.

In response to this:

已经在 https://github.com/halo-dev/docs/pull/314 中修改。

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

f2c-ci-robot[bot] avatar Feb 29 '24 09:02 f2c-ci-robot[bot]