Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
ai_web_page_prod
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
haojie
ai_web_page_prod
Commits
8d4a3533
Commit
8d4a3533
authored
May 06, 2023
by
haojie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
4ecc1fae
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
3 deletions
+7
-3
src/components/custom/SelectBackGround.vue
+1
-0
src/components/custom/input/index.vue
+1
-1
src/constants/form.ts
+3
-0
src/pages/ImageGeneration/index.vue
+1
-1
src/utils/api/Task.ts
+1
-1
No files found.
src/components/custom/SelectBackGround.vue
View file @
8d4a3533
...
@@ -198,6 +198,7 @@ watch(
...
@@ -198,6 +198,7 @@ watch(
height
:
100px
;
height
:
100px
;
display
:
block
;
display
:
block
;
cursor
:
pointer
;
cursor
:
pointer
;
border-radius
:
8px
;
}
}
.chose-model-dialog
{
.chose-model-dialog
{
.t-dialog
{
.t-dialog
{
...
...
src/components/custom/input/index.vue
View file @
8d4a3533
...
@@ -57,7 +57,7 @@ import PublicPwdSvg from '@/assets/svg/login/publicPwd.svg?component';
...
@@ -57,7 +57,7 @@ import PublicPwdSvg from '@/assets/svg/login/publicPwd.svg?component';
import
{
RulesType
}
from
'./Interfase'
;
import
{
RulesType
}
from
'./Interfase'
;
import
{
emailReg
}
from
'@/constants/token'
;
import
{
emailReg
}
from
'@/constants/token'
;
import
{
reactive
,
ref
,
watch
}
from
'vue'
;
import
{
reactive
,
ref
,
watch
}
from
'vue'
;
const
input_value
=
ref
<
string
>
(
''
);
const
input_value
=
ref
<
string
>
(
props
.
modelValue
);
const
props
=
withDefaults
(
const
props
=
withDefaults
(
defineProps
<
{
defineProps
<
{
type
?:
string
;
type
?:
string
;
...
...
src/constants/form.ts
View file @
8d4a3533
...
@@ -86,6 +86,9 @@ export const FilterFormType = (list: any[]) => {
...
@@ -86,6 +86,9 @@ export const FilterFormType = (list: any[]) => {
it
.
component_type
=
'label'
;
it
.
component_type
=
'label'
;
}
else
if
(
it
.
type
==
'image'
)
{
}
else
if
(
it
.
type
==
'image'
)
{
it
.
component_type
=
'image'
;
it
.
component_type
=
'image'
;
if
(
typeof
it
.
dialog_visible
==
'undefined'
)
{
it
.
dialog_visible
=
false
;
}
}
}
// 保存提交的类型
// 保存提交的类型
if
(
it
.
name
==
'select_image'
)
{
if
(
it
.
name
==
'select_image'
)
{
...
...
src/pages/ImageGeneration/index.vue
View file @
8d4a3533
...
@@ -102,7 +102,7 @@ const getAdminComponent = async () => {
...
@@ -102,7 +102,7 @@ const getAdminComponent = async () => {
return
;
return
;
}
}
AdminData
.
list
=
list
;
AdminData
.
list
=
list
;
console
.
log
(
AdminData
.
list
);
console
.
log
(
list
);
}
}
loading
.
value
=
false
;
loading
.
value
=
false
;
}
catch
(
e
)
{
}
catch
(
e
)
{
...
...
src/utils/api/Task.ts
View file @
8d4a3533
...
@@ -37,7 +37,7 @@ export const CustomNum = {
...
@@ -37,7 +37,7 @@ export const CustomNum = {
type
:
'custom-number'
,
type
:
'custom-number'
,
label
:
'生成数量'
,
label
:
'生成数量'
,
name
:
'number'
,
name
:
'number'
,
value
:
null
,
value
:
'1'
,
span
:
24
,
span
:
24
,
placeholder
:
'自定义'
,
placeholder
:
'自定义'
,
rules
:
[
rules
:
[
...
...
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