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
c96f3cea
authored
Jun 05, 2024
by
cherishsince
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【优化】增加 image mj 按钮回调
parent
29e1426a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
src/views/ai/image/ImageTask.vue
+2
-2
src/views/ai/image/ImageTaskCard.vue
+1
-1
No files found.
src/views/ai/image/ImageTask.vue
View file @
c96f3cea
...
@@ -63,8 +63,8 @@ const handlerImageBtnClick = async (type, imageDetail: ImageDetailVO) => {
...
@@ -63,8 +63,8 @@ const handlerImageBtnClick = async (type, imageDetail: ImageDetailVO) => {
}
}
/** 图片 - mj btn click */
/** 图片 - mj btn click */
const
handlerImageMjBtnClick
=
async
(
button
:
ImageMjButtonsVO
)
=>
{
const
handlerImageMjBtnClick
=
async
(
button
:
ImageMjButtonsVO
,
imageDetail
:
ImageDetailVO
)
=>
{
console
.
log
(
'mj click'
,
button
)
console
.
log
(
'mj click'
,
button
,
imageDetail
)
}
}
/** 下载 - image */
/** 下载 - image */
...
...
src/views/ai/image/ImageTaskCard.vue
View file @
c96f3cea
...
@@ -67,7 +67,7 @@ const handlerLoading = async (status: number) => {
...
@@ -67,7 +67,7 @@ const handlerLoading = async (status: number) => {
/** mj 按钮 click */
/** mj 按钮 click */
const
handlerMjBtnClick
=
async
(
button
:
ImageMjButtonsVO
)
=>
{
const
handlerMjBtnClick
=
async
(
button
:
ImageMjButtonsVO
)
=>
{
emits
(
'onMjBtnClick'
,
button
)
emits
(
'onMjBtnClick'
,
button
,
props
.
imageDetail
)
}
}
// watch
// watch
...
...
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