From 89fafbe6e905bf3e549b21e4fa1093122e596bc8 Mon Sep 17 00:00:00 2001 From: xiaoxia Date: Mon, 14 Sep 2026 19:28:49 +0800 Subject: [PATCH] fix(frontend): #1896 apps/web/src/pages/editing-planner/constants/subtitleStyle.ts --- .../pages/editing-planner/constants/subtitleStyle.ts | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/apps/web/src/pages/editing-planner/constants/subtitleStyle.ts b/apps/web/src/pages/editing-planner/constants/subtitleStyle.ts index e2392e1f8..203cee81d 100644 --- a/apps/web/src/pages/editing-planner/constants/subtitleStyle.ts +++ b/apps/web/src/pages/editing-planner/constants/subtitleStyle.ts @@ -7,15 +7,8 @@ export const POSITION_OPTIONS = [ { value: "bottom", label: "底部" }, ] -export const FONT_OPTIONS = [ - "思源黑体", - "思源宋体", - "苹方", - "PingFang", - "微软雅黑", - "楷体", - "华康俪金黑", -] +// FONT_OPTIONS 统一从 generate/constants 导入 +export { FONT_OPTIONS } from "@/pages/generate/constants" export const ANIMATION_OPTIONS = [ { value: "none", label: "无" }, @@ -28,3 +21,4 @@ export const ASR_LANGUAGE_OPTIONS = [ { value: "zh", label: "中文" }, { value: "en", label: "English" }, ] +