调整videocard样式并修复打开ai问片后无法关闭

This commit is contained in:
mtvpls
2025-12-31 19:28:07 +08:00
parent 8e9eb76d58
commit 42aceb4403
2 changed files with 9 additions and 6 deletions
+2 -2
View File
@@ -106,8 +106,8 @@ export default function AIChatPanel({
};
checkMobile();
// 聚焦输入框
if (inputRef.current) {
// 只在非移动设备上聚焦输入框
if (inputRef.current && window.innerWidth >= 768) {
inputRef.current.focus();
}