fix(message): theme not working

This commit is contained in:
07akioni 2020-07-31 23:52:36 +08:00
parent 65c856ba72
commit 7f3d1dcf55

View File

@ -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