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

useThemeVars()获取的变量没有包含n-config-provider组件中覆盖的变量 #1176

Closed
jinmarcus opened this issue Sep 14, 2021 · 1 comment
Labels
untriaged need to sort

Comments

@jinmarcus
Copy link

TuSimple/naive-ui version (版本)

2.18.2

Vue version (Vue 版本)

3.1.1

Browser and its version (浏览器及其版本)

chrome 91.0.4472.124

System and its version (系统及其版本)

win10

Node version (Node 版本)

14.15.4

Reappearance link (重现链接)

https://codesandbox.io/s/purple-fire-fukqr?file=/src/main.js

Reappearance steps (重现步骤)

useThemeVars() 只能获取到系统初始化的变量

如果在n-config-provider组件中设置 theme-overrides 覆盖的变量,则获取不到

Expected results (期望的结果)

useThemeVars() 只能获取到系统初始化的变量

如果在n-config-provider组件中设置 theme-overrides 覆盖的变量,则获取不到

Actual results (实际的结果)

useThemeVars() 只能获取到系统初始化的变量

如果在n-config-provider组件中设置 theme-overrides 覆盖的变量,则获取不到

Remarks (补充说明)

@github-actions github-actions bot added the untriaged need to sort label Sep 14, 2021
@07akioni
Copy link
Collaborator

@Talljack

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
untriaged need to sort
Projects
None yet
Development

No branches or pull requests

2 participants