tiny-vue icon indicating copy to clipboard operation
tiny-vue copied to clipboard

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

Open hashiqi12138 opened this issue 9 months ago • 2 comments

What problem does this feature solve

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

What does the proposed API look like

What is your project name

hashiqi12138 avatar Mar 08 '25 03:03 hashiqi12138

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

Issues-translate-bot avatar Mar 08 '25 03:03 Issues-translate-bot

这个功能请求是关于在 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.

petercat-assistant[bot] avatar Mar 08 '25 03:03 petercat-assistant[bot]