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
14c9e33b
authored
Jun 27, 2024
by
cherishsince
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【解决todo】get 轮训,临时提交
parent
7fe8b8b7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
src/views/ai/image/ImageTask.vue
+1
-1
No files found.
src/views/ai/image/ImageTask.vue
View file @
14c9e33b
...
@@ -34,6 +34,7 @@ import {ElLoading, LoadingOptionsResolved} from "element-plus";
...
@@ -34,6 +34,7 @@ import {ElLoading, LoadingOptionsResolved} from "element-plus";
const
message
=
useMessage
()
// 消息弹窗
const
message
=
useMessage
()
// 消息弹窗
const
imageList
=
ref
<
ImageDetailVO
[]
>
([])
// image 列表
const
imageList
=
ref
<
ImageDetailVO
[]
>
([])
// image 列表
const
watchImageList
=
ref
<
ImageDetailVO
[]
>
([])
// 监听的 image list,一般是生成中,需要轮训
const
imageListInterval
=
ref
<
any
>
()
// image 列表定时器,刷新列表
const
imageListInterval
=
ref
<
any
>
()
// image 列表定时器,刷新列表
const
isShowImageDetail
=
ref
<
boolean
>
(
false
)
// 是否显示 task 详情
const
isShowImageDetail
=
ref
<
boolean
>
(
false
)
// 是否显示 task 详情
const
showImageDetailId
=
ref
<
number
>
(
0
)
// 是否显示 task 详情
const
showImageDetailId
=
ref
<
number
>
(
0
)
// 是否显示 task 详情
...
@@ -83,7 +84,6 @@ const getImageList = async (apply:boolean = false) => {
...
@@ -83,7 +84,6 @@ const getImageList = async (apply:boolean = false) => {
const
handlerImageBtnClick
=
async
(
type
,
imageDetail
:
ImageDetailVO
)
=>
{
const
handlerImageBtnClick
=
async
(
type
,
imageDetail
:
ImageDetailVO
)
=>
{
// 获取 image detail id
// 获取 image detail id
showImageDetailId
.
value
=
imageDetail
.
id
showImageDetailId
.
value
=
imageDetail
.
id
console
.
log
(
'type'
,
imageDetail
.
id
)
// 处理不用 btn
// 处理不用 btn
if
(
type
===
'more'
)
{
if
(
type
===
'more'
)
{
await
handlerDrawerOpen
()
await
handlerDrawerOpen
()
...
...
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