fix: 🐛 侧边栏配置加载初始默认值优化
This commit is contained in:
@@ -55,7 +55,7 @@ const settingsStore = useSettingsStore();
|
|||||||
const permissionStore = usePermissionStore();
|
const permissionStore = usePermissionStore();
|
||||||
|
|
||||||
const isDark = ref<boolean>(settingsStore.theme === ThemeEnum.DARK);
|
const isDark = ref<boolean>(settingsStore.theme === ThemeEnum.DARK);
|
||||||
const sidebarColor = computed(() => settingsStore.sidebarColorScheme);
|
const sidebarColor = ref(settingsStore.sidebarColorScheme);
|
||||||
|
|
||||||
const settingsVisible = computed({
|
const settingsVisible = computed({
|
||||||
get() {
|
get() {
|
||||||
|
|||||||
Reference in New Issue
Block a user