mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-12-21 04:50:14 +08:00
fix(message): theme not working
This commit is contained in:
parent
65c856ba72
commit
7f3d1dcf55
@ -12,7 +12,7 @@ function getTheme (componentInstance, property, configProviderToWatchThemeChange
|
|||||||
let theme = null
|
let theme = null
|
||||||
while (cursor) {
|
while (cursor) {
|
||||||
const name = cursor.$options.name
|
const name = cursor.$options.name
|
||||||
if (name === 'NConfigProvider') {
|
if (name === 'ConfigProvider') {
|
||||||
while (cursor) {
|
while (cursor) {
|
||||||
if (cursor.syntheticTheme) {
|
if (cursor.syntheticTheme) {
|
||||||
theme = cursor.syntheticTheme
|
theme = cursor.syntheticTheme
|
||||||
|
Loading…
Reference in New Issue
Block a user