fix: update themeVars access in useTheme composable and theme settings page

This commit is contained in:
Ray.Hao committed 2026-03-09 08:15:12 +08:00
1 parent b881b79384
commit 15c2bbfe89
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -147,7 +147,7 @@ const showCustomColorInput = ref(false);
// 当前选中的主题色
const currentThemeColor = computed(() => {
return themeVars.value.colorTheme || themeColorOptions[0].primary;
return themeVars.colorTheme || themeColorOptions[0].primary;
});
// 选择预设颜色