From e1036e434d590421284ed385cf735e3479717715 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8C=97=E6=9E=B3?= <7854742+wang_rumeng@user.noreply.gitee.com> Date: Mon, 22 Sep 2025 15:34:26 +0800 Subject: [PATCH] VIDEO_ASPECT_RATIO_PORTRAIT --- components/ChatInputBox/ChatInputBox.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/ChatInputBox/ChatInputBox.tsx b/components/ChatInputBox/ChatInputBox.tsx index 3a896f1..4bd444e 100644 --- a/components/ChatInputBox/ChatInputBox.tsx +++ b/components/ChatInputBox/ChatInputBox.tsx @@ -140,7 +140,7 @@ export function ChatInputBox({ noData }: { noData: boolean }) { language: "english", videoDuration: "unlimited", expansion_mode: true, - aspect_ratio: "VIDEO_ASPECT_RATIO_LANDSCAPE", + aspect_ratio: "VIDEO_ASPECT_RATIO_PORTRAIT", }); // 从 localStorage 初始化配置 @@ -155,7 +155,7 @@ export function ChatInputBox({ noData }: { noData: boolean }) { language: parsed.language || "english", videoDuration: parsed.videoDuration || "unlimited", expansion_mode: typeof parsed.expansion_mode === 'boolean' ? parsed.expansion_mode : true, - aspect_ratio: parsed.aspect_ratio || "VIDEO_ASPECT_RATIO_LANDSCAPE", + aspect_ratio: parsed.aspect_ratio || "VIDEO_ASPECT_RATIO_PORTRAIT", }); } catch (error) { console.warn('解析保存的配置失败,使用默认配置:', error);