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
c147ba53
Commit
c147ba53
authored
Apr 26, 2025
by
chenghong_tao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix loading
parent
4115f646
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
Chat.vue
src/components/Chat.vue
+6
-0
No files found.
src/components/Chat.vue
View file @
c147ba53
...
...
@@ -92,6 +92,12 @@ const getInputHeight = (height) => {
const
loadingFinished
=
ref
(
false
)
const
messageFinished
=
(
status
)
=>
{
loadingFinished
.
value
=
status
if
(
!
status
)
{
loadingFinished
.
value
=
true
nextTick
(()
=>
{
loadingFinished
.
value
=
status
})
}
if
(
status
)
{
nextTick
(()
=>
{
scrollToBottom
()
...
...
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