fix:修复webui已知bug

This commit is contained in:
纸凤孤凰
2024-11-27 18:16:16 +08:00
parent 071d0689fa
commit a907245587
3 changed files with 57 additions and 61 deletions

View File

@@ -35,9 +35,9 @@ enum ThemeMode {
Auto = 'auto',
}
const themeLabelMap: Record<string, ThemeMode> = {
浅色: ThemeMode.Light,
深色: ThemeMode.Dark,
自动: ThemeMode.Auto,
"浅色": ThemeMode.Light,
"深色": ThemeMode.Dark,
"自动": ThemeMode.Auto,
};
const show = ref<boolean>(true);
const createSetThemeAttributeFunction = () => {