Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
poc-fe
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
poc
poc-fe
Commits
525e3bf0
Commit
525e3bf0
authored
Apr 30, 2025
by
tyyin lan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore(首页): 去掉调试代码
parent
607b73b6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
14 deletions
+14
-14
home.vue
src/views/home/home.vue
+14
-14
No files found.
src/views/home/home.vue
View file @
525e3bf0
...
@@ -44,20 +44,20 @@ const isShowMessageList = ref(false)
...
@@ -44,20 +44,20 @@ const isShowMessageList = ref(false)
const
isAgentInitLoading
=
ref
(
true
)
const
isAgentInitLoading
=
ref
(
true
)
const
currentFetchEventSourceController
=
ref
<
AbortController
|
null
>
(
null
)
const
currentFetchEventSourceController
=
ref
<
AbortController
|
null
>
(
null
)
setTimeout
(()
=>
{
//
setTimeout(() => {
messageList
.
value
.
set
(
'1'
,
{
//
messageList.value.set('1', {
role
:
'user'
,
//
role: 'user',
agentId
:
'b058f1baedd04af983ca00775368bb8c'
,
//
agentId: 'b058f1baedd04af983ca00775368bb8c',
content
:
'请推荐一些适合初学者的编程学习资源。'
,
//
content: '请推荐一些适合初学者的编程学习资源。',
timestamp
:
1726654820427
,
//
timestamp: 1726654820427,
isAnswerLoading
:
false
,
//
isAnswerLoading: false,
avatar
:
'http://localhost:8848/fe/src/assets/images/home/agent-avatar.png'
,
//
avatar: 'http://localhost:8848/fe/src/assets/images/home/agent-avatar.png',
name
:
'1234'
,
//
name: '1234',
reasoningContent
:
'1324'
,
//
reasoningContent: '1324',
imageUrl
:
''
,
//
imageUrl: '',
pluginName
:
''
,
//
pluginName: '',
})
//
})
},
60
)
//
}, 60)
// messageList.value.set('2', {
// messageList.value.set('2', {
// role: 'assistant',
// role: 'assistant',
// agentId: 'b058f1baedd04af983ca00775368bb8c',
// agentId: 'b058f1baedd04af983ca00775368bb8c',
...
...
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