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

envOverwrite方法会直接修改原来的schema #8745

Closed
mrZhanHQ opened this issue Nov 15, 2023 · 0 comments · Fixed by #8766
Closed

envOverwrite方法会直接修改原来的schema #8745

mrZhanHQ opened this issue Nov 15, 2023 · 0 comments · Fixed by #8766
Assignees

Comments

@mrZhanHQ
Copy link

envOverwrite方法会直接修改原来的schema,而不是复制一份再修改,会对父级组件产生副作用;
在渲染完成时,调用envOverwrite的组件和其父级声明schema的组件都显示为修改后的schema,很难定位schema是在哪里被修改的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants