fix(theme): 修复主题加载错误

This commit is contained in:
2025-12-30 10:59:23 +08:00
parent 26f8537d24
commit 3fec0470cf
2 changed files with 15 additions and 15 deletions

View File

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