소스 검색

feat: 机器人对话窗口保持打开(不用点按钮)

zl 1 개월 전
부모
커밋
f9dcba2bee
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      web/app/components/base/chat/embedded-chatbot/config-panel/index.tsx

+ 2 - 0
web/app/components/base/chat/embedded-chatbot/config-panel/index.tsx

@@ -26,6 +26,8 @@ const ConfigPanel = () => {
   const site = appData?.site
   const themeBuilder = useThemeContext()
 
+  handleStartChat()
+
   return (
     <div className='flex flex-col max-h-[80%] w-full max-w-[720px]'>
       <div