diff --git a/src/_utils/naive/installThemeAwarableProperty.js b/src/_utils/naive/installThemeAwarableProperty.js index 11e76fa77..fbd4b57bf 100644 --- a/src/_utils/naive/installThemeAwarableProperty.js +++ b/src/_utils/naive/installThemeAwarableProperty.js @@ -12,7 +12,7 @@ function getTheme (componentInstance, property, configProviderToWatchThemeChange let theme = null while (cursor) { const name = cursor.$options.name - if (name === 'NConfigProvider') { + if (name === 'ConfigProvider') { while (cursor) { if (cursor.syntheticTheme) { theme = cursor.syntheticTheme