fix: 🐛 修复侧边栏配色方法无法正确加载初始默认值问题

This commit is contained in:
Ray.Hao
2025-02-21 00:35:23 +08:00
parent bd9af1add2
commit ea43476d44
2 changed files with 8 additions and 7 deletions

View File

@@ -67,7 +67,7 @@ export const useSettingsStore = defineStore("setting", () => {
theme.value = val;
}
function changeSidebarColorScheme(val: string) {
function changeSidebarColor(val: string) {
sidebarColorScheme.value = val;
}
@@ -92,6 +92,6 @@ export const useSettingsStore = defineStore("setting", () => {
changeTheme,
changeThemeColor,
changeLayout,
changeSidebarColorScheme,
changeSidebarColor,
};
});