From 7f3d1dcf552c1de26ee177a06c5051dc6262f70e Mon Sep 17 00:00:00 2001 From: 07akioni <07akioni2@gmail.com> Date: Fri, 31 Jul 2020 23:52:36 +0800 Subject: [PATCH] fix(message): theme not working --- src/_utils/naive/installThemeAwarableProperty.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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