Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
D
digitalPerson-fe
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
digitalPerson
digitalPerson-fe
Commits
c99d35b7
Commit
c99d35b7
authored
Oct 09, 2024
by
nick zheng
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'beta' into 'master'
chore: 数字人生成新建弹窗清空内容后再次打开没有默认数据 See merge request
!23
parents
ccc65637
2dfc6182
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
create-digital-human-video-modal.vue
.../creation/components/create-digital-human-video-modal.vue
+11
-1
No files found.
src/views/creation/components/create-digital-human-video-modal.vue
View file @
c99d35b7
...
...
@@ -4,7 +4,7 @@ import CustomModal from '@/components/custom-modal/custom-modal.vue'
import
{
ScreenType
}
from
'@/store/types/creation'
import
{
formatDateTime
}
from
'@/utils/date-formatter'
import
{
FormInst
}
from
'naive-ui'
import
{
computed
,
reactive
,
ref
}
from
'vue'
import
{
computed
,
reactive
,
ref
,
watch
}
from
'vue'
interface
Props
{
isShowModal
:
boolean
...
...
@@ -51,6 +51,16 @@ const showModal = computed({
},
})
watch
(
()
=>
showModal
.
value
,
(
newValue
)
=>
{
if
(
newValue
)
{
digitalHumanVideoFormData
.
title
=
'新建數字人視頻'
+
formatDateTime
(
new
Date
())
digitalHumanVideoFormData
.
pageLayout
=
ScreenType
.
PORTRAIT
}
},
)
function
handleUpdatePageLayout
(
pageLayout
:
ScreenType
)
{
digitalHumanVideoFormData
.
pageLayout
=
pageLayout
}
...
...
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