pro-components icon indicating copy to clipboard operation
pro-components copied to clipboard

🐛[BUG]ProFormDependency依赖项层级较深时无法输出全部的Values

Open annjong opened this issue 5 months ago • 0 comments
trafficstars

提问前先看看:

https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md

🐛 bug 描述

在使用ProFormDependency中,若联动依赖的names的长度不为1,并且依赖项(namePath)的长度大于2时,当多个依赖项的namePath[1]一致时,values只会输出最后一个值

Image

📷 复现步骤

https://codesandbox.io/p/sandbox/jwcvwc

🏞 期望结果

应该把所有依赖项输出

💻 复现代码

© 版本信息

  • ProComponents 版本: [e.g. 4.0.0]
  • umi 版本
  • 浏览器环境
  • 开发环境 [e.g. mac OS]

🚑 其他信息

annjong avatar May 29 '25 09:05 annjong