Skip to content
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

【Bug】data 入参为多层对象结构时(并包含数组、布尔等),rebuildData 逻辑导致 data 处理错误 #39

Open
eleven-net-cn opened this issue Mar 28, 2024 · 0 comments

Comments

@eleven-net-cn
Copy link

这一段逻辑处理有问题,会导致 data 处理后出现错误,任意录入类似以下结构的参数即可复现

{
  data: {
    a: {
      b: {
        c: {
          d: [],
          e: false,
          f: {},
        }
      }
    }
  }
}

错误的逻辑代码位置

image

建议去掉这一段 data 的逻辑处理,原样透传过去。

@eleven-net-cn eleven-net-cn changed the title data 入参为多层对象结构时(并包含数组、布尔等),rebuildData 逻辑导致 data 处理错误 【Bug】data 入参为多层对象结构时(并包含数组、布尔等),rebuildData 逻辑导致 data 处理错误 Apr 8, 2024
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

No branches or pull requests

1 participant