fix: update themeVars access in useTheme composable and theme settings page
This commit is contained in:
@@ -147,7 +147,7 @@ const showCustomColorInput = ref(false);
|
||||
|
||||
// 当前选中的主题色
|
||||
const currentThemeColor = computed(() => {
|
||||
return themeVars.value.colorTheme || themeColorOptions[0].primary;
|
||||
return themeVars.colorTheme || themeColorOptions[0].primary;
|
||||
});
|
||||
|
||||
// 选择预设颜色
|
||||
|
||||
Reference in New Issue
Block a user