fix(theme): 修复主题加载错误
This commit is contained in:
@@ -110,7 +110,7 @@ class ConfigExternal {
|
||||
|
||||
try {
|
||||
// 动态加载主题配置
|
||||
const themeData = require(`@/common/js/style_color.js`)[theme];
|
||||
const themeData = require(`@/common/js/style_color.js`)['default'][theme];
|
||||
this.loadedConfigs[`theme_${theme}`] = themeData;
|
||||
return themeData;
|
||||
} catch (error) {
|
||||
|
||||
Reference in New Issue
Block a user