Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
a2474c9c
authored
Jun 01, 2024
by
YunaiV
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【修复】AI:对话管理不展示的问题
parent
616fe2c3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
src/api/ai/image/index.ts
+2
-2
src/views/ai/chat/manager/index.vue
+3
-0
No files found.
src/api/ai/image/index.ts
View file @
a2474c9c
...
...
@@ -44,7 +44,7 @@ export interface ImageMidjourneyImagineReqVO {
base64Array
:
string
[]
// size不能为空
}
// TODO 芋艿:review 下整体注释、方法名
// AI API 密钥 API
export
const
ImageApi
=
{
// 获取 image 列表
...
...
@@ -65,6 +65,6 @@ export const ImageApi = {
},
// 删除
deleteImage
:
async
(
id
:
number
)
=>
{
return
await
request
.
delete
({
url
:
`/ai/image/delete-
id-
my?id=
${
id
}
`
})
return
await
request
.
delete
({
url
:
`/ai/image/delete-my?id=
${
id
}
`
})
},
}
src/views/ai/chat/manager/index.vue
View file @
a2474c9c
...
...
@@ -12,6 +12,9 @@
</
template
>
<
script
setup
lang=
"ts"
>
import
ChatConversationList
from
'./ChatConversationList.vue'
import
ChatMessageList
from
'./ChatMessageList.vue'
/** AI 聊天对话 列表 */
defineOptions
({
name
:
'ChatConversation'
})
</
script
>
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