chore(web): 文件夹主题 - 修复前端格式检查

This commit is contained in:
echoD886 committed 2026-08-20 16:50:50 +08:00
1 parent d5895a07a6
commit 77818e08ce
5 files changed
+50 -58

No files matched your search

+1 -1
View File
@@ -12,7 +12,7 @@ export const CANVAS_FOLDER_THEME_OPTIONS: ReadonlyArray<{
];
export function resolveCanvasFolderTheme(value?: string): CanvasFolderTheme {
return CANVAS_FOLDER_THEME_OPTIONS.some((theme) => theme.key === value) ? value as CanvasFolderTheme : "aurora";
return CANVAS_FOLDER_THEME_OPTIONS.some((theme) => theme.key === value) ? (value as CanvasFolderTheme) : "aurora";
}
export function resolveCanvasFolderThemeCover(theme?: string, customCover?: string) {