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
f103a48c
Commit
f103a48c
authored
Dec 16, 2025
by
Liu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
delete:输入框提示
parent
14e27ea7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
8 deletions
+1
-8
src/components/TacticsChatEditor.tsx
+1
-8
No files found.
src/components/TacticsChatEditor.tsx
View file @
f103a48c
import
React
,
{
useRef
,
useState
}
from
'react'
import
{
Button
,
Tooltip
}
from
'@heroui/react'
import
{
Button
}
from
'@heroui/react'
import
SendIcon
from
'@/assets/svg/send.svg?react'
import
{
type
WithAuthProps
,
withAuth
}
from
'@/auth/withAuth'
import
{
useAppSelector
}
from
'@/store/hook'
...
...
@@ -99,12 +99,6 @@ const TacticsChatEditorBase: React.FC<TacticsChatEditorProps & WithAuthProps> =
onKeyDown=
{
handleKeyDown
}
rows=
{
1
}
/>
<
Tooltip
isOpen=
{
!
content
&&
!
isAsking
}
color=
"foreground"
content=
"请输入您的问题📖"
placement=
"top-end"
>
<
Button
className=
"ask-send"
onPress=
{
handleSubmit
}
...
...
@@ -115,7 +109,6 @@ const TacticsChatEditorBase: React.FC<TacticsChatEditorProps & WithAuthProps> =
>
<
SendIcon
/>
</
Button
>
</
Tooltip
>
</
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