Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pms-dispatch-assistant
Project
Project
Details
Activity
Releases
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
姜耀祖
pms-dispatch-assistant
Commits
72e4f51a
Commit
72e4f51a
authored
Apr 23, 2025
by
姜耀祖
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug修复
parent
a5f2768c
Pipeline
#21074
passed with stages
in 3 minutes and 23 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
11 deletions
+6
-11
ai-chat-vue.js
src/main/resources/static/pages/langchain/js/ai-chat-vue.js
+6
-11
No files found.
src/main/resources/static/pages/langchain/js/ai-chat-vue.js
View file @
72e4f51a
...
...
@@ -98,14 +98,6 @@ require(['jquery', 'vue', 'utils','marked','markdown', 'global'], function ($, V
if
(
textarea
)
{
textarea
.
addEventListener
(
'keypress'
,
this
.
handleKeyPress
);
}
// 添加全局点击事件以关闭菜单
// document.addEventListener('click', (event) => {
// // 检查点击是否在菜单按钮上
// if (!event.target.closest('.menu-btn') && !event.target.closest('.menu-dropdown')) {
// this.closeAllMenus();
// }
// });
});
},
methods
:
{
...
...
@@ -344,10 +336,13 @@ require(['jquery', 'vue', 'utils','marked','markdown', 'global'], function ($, V
async
:
false
,
success
:
function
(
data
)
{
var
mes
=
data
.
data
;
if
(
mes
&&
mes
.
length
>
0
){
that
.
fistLoading
=
false
;
mes
.
forEach
(
section
=>
{
that
.
addMessage
(
section
.
role
,
section
.
content
);
});
}
}
});
},
// 删除对话
...
...
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