Skip to content

[Bug] 修改 控制面板-配置管理 中的选项会导致 Form item 的数量被复制翻倍 #1133

@AntaresQAQ

Description

@AntaresQAQ

环境和版本

OS:macOS 26.3
Browser:Version 145.0.7632.76 (Official Build) (arm64)
Server OS: Ubuntu 24.04.3 LTS x86_64 (Kernel: 6.8.0-90-generic)
Hydro Version:5.0.0-beta.17

复现流程

前往 控制面板-配置管理 修改任意配置项

Image

修改了 file.region
Image

再改回去

Image

补充说明

  • 未安装任何包含 js/ts 代码的插件,仅修改了icon
  • 重启 hydrooj 后恢复,但只要修改Form item 就会被复制一次
  • 当多次修改后,会生成过多DOM元素,把整个页面卡死

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions