Skip to content

getFieldName处理数组时的逻辑问题修复 #1638

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ShuangxingYang
Copy link

@ShuangxingYang ShuangxingYang commented Mar 26, 2025

使用getValues试图获取多个字段值的时候,需要传入一个NamePathList,但是其中调用到getFieldName时,已经通过if(Array.is)处理过的_path,会再次被当做普通字符串通过split处理一遍,这是个明显的bug———入参_path正常情况下,不可能既支持map方法又支持split方法。
image

Copy link

vercel bot commented Mar 26, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
x-render ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 26, 2025 6:55am
x-render-1 ❌ Failed (Inspect) Mar 26, 2025 6:55am

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.

1 participant