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
5353531e
authored
May 27, 2024
by
cherishsince
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【增加】Image task 增加关联接口调用
parent
9cad4d60
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 @
5353531e
...
@@ -14,7 +14,6 @@
...
@@ -14,7 +14,6 @@
import
{
ImageApi
,
ImageDetailVO
}
from
'@/api/ai/image'
;
import
{
ImageApi
,
ImageDetailVO
}
from
'@/api/ai/image'
;
import
ImageDetailDrawer
from
'./ImageDetailDrawer.vue'
import
ImageDetailDrawer
from
'./ImageDetailDrawer.vue'
import
ImageTaskCard
from
'./ImageTaskCard.vue'
import
ImageTaskCard
from
'./ImageTaskCard.vue'
import
{
Delete
,
Download
,
More
}
from
"@element-plus/icons-vue"
;
import
{
bool
}
from
"vue-types"
;
import
{
bool
}
from
"vue-types"
;
const
imageList
=
ref
<
ImageDetailVO
[]
>
([])
// image 列表
const
imageList
=
ref
<
ImageDetailVO
[]
>
([])
// image 列表
...
@@ -45,7 +44,8 @@ const handlerDrawerOpen = async () => {
...
@@ -45,7 +44,8 @@ const handlerDrawerOpen = async () => {
* 获取 - image 列表
* 获取 - image 列表
*/
*/
const
getImageList
=
async
()
=>
{
const
getImageList
=
async
()
=>
{
imageList
.
value
=
await
ImageApi
.
getImageList
({
pageNo
:
1
,
pageSize
:
20
})
const
{
list
}
=
await
ImageApi
.
getImageList
({
pageNo
:
1
,
pageSize
:
20
})
imageList
.
value
=
list
}
}
/**
/**
...
...
src/views/ai/image/ImageTaskCard.vue
View file @
5353531e
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
</div>
</div>
</div>
</div>
<div
class=
"image-wrapper"
>
<div
class=
"image-wrapper"
>
<img
class=
"image"
:src=
"imageDetail?.
image
Url"
/>
<img
class=
"image"
:src=
"imageDetail?.
pic
Url"
/>
</div>
</div>
</el-card>
</el-card>
</
template
>
</
template
>
...
...
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