Tree collection 作为其他 colleciton 的字段无法更新

* 描述问题

tree collection - 创建了 Folders collection

其他 collection - 创建了 Articles coolection,有字段 folder, 和 Folders 是 manyToOne 关系

在界面中修改 article 的 folder 并提交后,foler 属性还是之前的值。

* 运行环境

  • NocoBase 版本: 使用 docker 镜像:

    • nocobase/nocobase:1.8.0-alpha.11-full
    • nocobase/nocobase:latest(v1.7.18)
  • 数据库种类与版本: MySQL 8.0.40

  • 操作系统: Linux/Docker
    -浏览器及版本: Chrome 版本 137.0.7151.104(正式版本) (x86_64)

  • 部署方式: docker

  • Docker 镜像版本: nocobase/nocobase:1.8.0-alpha.11-full | latest(v1.7.18)

  • NodeJS 版本:

如何重现

  • 创建 collection
    • 创建 tree colle ction - folders
      • 创建 general collection - articles
      • 创建 article manyToOne 字段 folder - 引用 collection folders (Create inverse field in the target collection 勾选或者不勾选都测试了)
  • 创建记录
    • 创建 folder 记录,root和它的子folder t1
    • 创建 article 记录,folder 属性选择 root
  • 修改 folder
    • article 记录修改 folder 为 t1, 提交后 folder属性依然是 root

预期行为

修改 folder 属性,应改变为修改的值。

截图

Kapture 2025-06-29 at 11.59.13

日志

问题解决了,不是bug,是我设置有个错误。