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
60de1b97
authored
May 25, 2024
by
cherishsince
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【增加】Dall3 增加图片生成 (function 待实现)
parent
5232a2bf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
1 deletions
+16
-1
src/views/ai/image/dall3/index.vue
+16
-1
No files found.
src/views/ai/image/dall3/index.vue
View file @
60de1b97
...
@@ -65,7 +65,10 @@
...
@@ -65,7 +65,10 @@
</div>
</div>
</el-space>
</el-space>
</div>
</div>
<div
class=
"btns"
>
<!--
<el-button
size=
"large"
round
>
重置内容
</el-button>
-->
<el-button
type=
"primary"
size=
"large"
round
@
click=
"handlerGenerateImage"
>
生成内容
</el-button>
</div>
</
template
>
</
template
>
<
script
setup
lang=
"ts"
>
<
script
setup
lang=
"ts"
>
...
@@ -155,6 +158,12 @@ const handlerSizeClick = async (imageSize: ImageSizeVO) => {
...
@@ -155,6 +158,12 @@ const handlerSizeClick = async (imageSize: ImageSizeVO) => {
console
.
log
(
imageSize
)
console
.
log
(
imageSize
)
}
}
/**
* 图片生产
*/
const
handlerGenerateImage
=
async
()
=>
{
// todo @范 图片生产逻辑
}
</
script
>
</
script
>
<
style
scoped
lang=
"scss"
>
<
style
scoped
lang=
"scss"
>
...
@@ -249,4 +258,10 @@ const handlerSizeClick = async (imageSize: ImageSizeVO) => {
...
@@ -249,4 +258,10 @@ const handlerSizeClick = async (imageSize: ImageSizeVO) => {
border
:
1px
solid
#1293ff
!important
;
border
:
1px
solid
#1293ff
!important
;
}
}
}
}
.btns
{
display
:
flex
;
justify-content
:
center
;
margin-top
:
50px
;
}
</
style
>
</
style
>
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