Skip to content

✨ [Feature]: config-provider 主题配置支持多层级嵌套,自动合并 #3086

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
hashiqi12138 opened this issue Mar 8, 2025 · 2 comments · May be fixed by #3187
Open

✨ [Feature]: config-provider 主题配置支持多层级嵌套,自动合并 #3086

hashiqi12138 opened this issue Mar 8, 2025 · 2 comments · May be fixed by #3187
Labels
enhancement New feature or request (功能增强) welcome pr 欢迎提交 PR 实现/解决

Comments

@hashiqi12138
Copy link
Contributor

What problem does this feature solve

目前组件库中 config-provider 使用 provide 注入全局配置信息,在多层嵌套的情况中,如果有多个 config provider,最下级的组件只能接收到离他最近的配置,更上级的配置会被完全覆盖,这种场景下希望能够支持多层配置信息的合并

What does the proposed API look like

What is your project name

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Title: ✨ [Feature]: config-provider theme configuration supports multi-level nesting and automatic merging

Copy link

这个功能请求是关于在 config-provider 中支持多层级嵌套的主题配置自动合并。目前,config-provider 使用 provide 注入全局配置信息,但在多层嵌套的情况下,最下级的组件只能接收到离它最近的配置,更上级的配置会被完全覆盖。因此,用户希望能够支持多层配置信息的合并。

这个请求已经被记录下来,并会在未来的版本中进行考虑。感谢您对 opentiny/tiny-vue 的关注和支持!

如果您有其他问题或需要进一步的帮助,请随时告诉我。

🪧 Tips For further assistance, please describe your question in the comments and @petercat-assistant to start a conversation with me.

@kagol kagol added enhancement New feature or request (功能增强) welcome pr 欢迎提交 PR 实现/解决 labels Mar 20, 2025
@zzcr zzcr linked a pull request Apr 22, 2025 that will close this issue
13 tasks
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request (功能增强) welcome pr 欢迎提交 PR 实现/解决
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants