fix: 🐛 侧边栏配置加载初始默认值优化
This commit is contained in:
1 parent
ea43476d44
commit
543abe76c8
1 file changed
+1
-1
@@ -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