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

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

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;
});
// 选择预设颜色