Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
A
ai-chat-ui
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chenghong_tao
ai-chat-ui
Commits
d66952f1
Commit
d66952f1
authored
May 15, 2025
by
chenghong_tao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix 工作流状态
parent
5f904413
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
workflowItem.vue
src/components/chatSubassembly/workflowItem.vue
+11
-1
No files found.
src/components/chatSubassembly/workflowItem.vue
View file @
d66952f1
...
...
@@ -55,7 +55,17 @@ watch(
break
;
}
if
(
item
.
event
===
"workflow_finished"
)
{
workflowStatus
.
value
=
'success'
;
if
(
item
?.
data
?.
status
===
'stopped'
)
{
// 查看thinkingItems.value中是否还存在loading状态的item,如果存在,则设置为error
thinkingItems
.
value
.
forEach
(
i
=>
{
if
(
i
.
status
===
'loading'
)
{
i
.
status
=
'error'
;
}
})
workflowStatus
.
value
=
'error'
;
}
else
{
workflowStatus
.
value
=
'success'
;
}
}
// 特殊处理 iteration_started 和 iteration_completed
...
...
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