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
0a39d2a1
Commit
0a39d2a1
authored
Jan 05, 2026
by
Liu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:工单欢迎语
parent
87199471
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletions
+9
-1
src/pages/ChatTactics/components/TacticsWelcome/index.tsx
+9
-1
No files found.
src/pages/ChatTactics/components/TacticsWelcome/index.tsx
View file @
0a39d2a1
import
type
React
from
'react'
import
type
React
from
'react'
import
{
Avatar
}
from
'@heroui/react'
import
{
Avatar
}
from
'@heroui/react'
import
{
motion
}
from
'framer-motion'
import
{
motion
}
from
'framer-motion'
import
{
useSearchParams
}
from
'react-router-dom'
import
AvatarBot
from
'@/assets/avatarBot.png'
import
AvatarBot
from
'@/assets/avatarBot.png'
import
AIIcon
from
'@/assets/ai-icon.png'
import
AIIcon
from
'@/assets/ai-icon.png'
...
@@ -10,9 +11,16 @@ interface TacticsWelcomeProps {
...
@@ -10,9 +11,16 @@ interface TacticsWelcomeProps {
export
const
TacticsWelcome
:
React
.
FC
<
TacticsWelcomeProps
>
=
({
cleared
})
=>
{
export
const
TacticsWelcome
:
React
.
FC
<
TacticsWelcomeProps
>
=
({
cleared
})
=>
{
const
viteOutputObj
=
import
.
meta
.
env
.
VITE_OUTPUT_OBJ
||
'open'
const
viteOutputObj
=
import
.
meta
.
env
.
VITE_OUTPUT_OBJ
||
'open'
const
[
searchParams
]
=
useSearchParams
()
const
from
=
searchParams
.
get
(
'from'
)
const
place
=
searchParams
.
get
(
'place'
)
const
isOrderPlace
=
from
===
'tactics'
&&
place
===
'order'
const
welcomeText
=
cleared
const
welcomeText
=
cleared
?
'暂无分析记录,点击右上方按钮开始新的分析吧!'
?
'暂无分析记录,点击右上方按钮开始新的分析吧!'
:
'正在为您生成分析报告,请耐心等待一会哦~'
:
isOrderPlace
?
'正在为您分析工单数据,请耐心等待一会哦~'
:
'正在为您生成分析报告,请耐心等待一会哦~'
return
(
return
(
<
div
className=
"chatWelcomeContainer w-full"
>
<
div
className=
"chatWelcomeContainer w-full"
>
...
...
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