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
cddaf637
Commit
cddaf637
authored
Dec 30, 2024
by
nick zheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 首页提问设置渠道
parent
cc6dbe47
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
footer-operation.vue
src/views/home/components/footer-operation.vue
+2
-0
No files found.
src/views/home/components/footer-operation.vue
View file @
cddaf637
...
...
@@ -7,6 +7,7 @@ import fetchEventStreamSource from '../utils/fetch-event-stream-source'
import
{
throttle
}
from
'lodash-es'
import
{
useI18n
}
from
'vue-i18n'
import
{
useUserStore
}
from
'@/store/modules/user'
import
{
ChannelType
}
from
'@/enums/channel'
interface
Props
{
currentSessionId
:
string
...
...
@@ -166,6 +167,7 @@ function questionSubmit() {
agentId
:
currentAgentApplication
.
value
.
agentId
,
//应用ID
input
:
questionContent
.
value
.
trim
(),
//提问文本
fileUrls
:
currentInputFileInfo
.
value
.
url
?
[
currentInputFileInfo
.
value
.
url
]
:
[],
channel
:
ChannelType
.
index
,
},
{
onmessage
:
(
message
)
=>
{
...
...
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