fix: quickAssistant transalte not work by key select

This commit is contained in:
fullex 2025-04-14 10:28:15 +08:00 committed by Asurada
parent 0e8c053cee
commit e6b325dd88

View File

@ -93,7 +93,6 @@ const HomeWindow: FC = () => {
if (content) { if (content) {
if (route === 'home') { if (route === 'home') {
featureMenusRef.current?.useFeature() featureMenusRef.current?.useFeature()
setText('')
} else { } else {
// 目前文本框只在'chat'时可以继续输入,这里相当于 route === 'chat' // 目前文本框只在'chat'时可以继续输入,这里相当于 route === 'chat'
setRoute('chat') setRoute('chat')