Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
sdream-ai-fe
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
侯明涛
sdream-ai-fe
Commits
7fed823f
Commit
7fed823f
authored
Aug 13, 2025
by
weiw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 输入框去除预设轻提示
parent
2b25a0a9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
2 deletions
+1
-2
src/pages/Chat/Chat.tsx
+1
-2
No files found.
src/pages/Chat/Chat.tsx
View file @
7fed823f
...
@@ -8,7 +8,6 @@ import { processApiResponse } from './helper'
...
@@ -8,7 +8,6 @@ import { processApiResponse } from './helper'
import
{
ChatWelcome
}
from
'./components/ChatWelcome'
import
{
ChatWelcome
}
from
'./components/ChatWelcome'
import
{
ChatItemUser
}
from
'./components/ChatItem/ChatItemUser'
import
{
ChatItemUser
}
from
'./components/ChatItem/ChatItemUser'
import
{
ChatAnswerBox
}
from
'./components/ChatItem/ChatAnswerBox'
import
{
ChatAnswerBox
}
from
'./components/ChatItem/ChatAnswerBox'
import
{
RECOMMEND_QUESTIONS_OTHER
}
from
'@/config/recommendQuestion'
import
{
ChatEditor
}
from
'@/components/ChatEditor'
import
{
ChatEditor
}
from
'@/components/ChatEditor'
import
type
{
ChatRecord
}
from
'@/types/chat'
import
type
{
ChatRecord
}
from
'@/types/chat'
import
{
fetchUserQaRecordPage
}
from
'@/api/conversation'
import
{
fetchUserQaRecordPage
}
from
'@/api/conversation'
...
@@ -245,7 +244,7 @@ export const Chat: React.FC = () => {
...
@@ -245,7 +244,7 @@ export const Chat: React.FC = () => {
</
motion
.
div
>
</
motion
.
div
>
</
div
>
</
div
>
<
ChatEditor
onSubmit=
{
handleSubmitQuestion
}
placeholders=
{
RECOMMEND_QUESTIONS_OTHER
}
/>
<
ChatEditor
onSubmit=
{
handleSubmitQuestion
}
placeholders=
{
[]
}
/>
<
div
className=
"hidden sm:block w-full text-center mt-[12px] text-[#3333334d] text-[12px]"
>
<
div
className=
"hidden sm:block w-full text-center mt-[12px] text-[#3333334d] text-[12px]"
>
内容由AI模型生成,其准确性和完整性无法保证,仅供参考
内容由AI模型生成,其准确性和完整性无法保证,仅供参考
</
div
>
</
div
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment