Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
T
text2video-frontend
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
周成波
text2video-frontend
Commits
7c03631c
Commit
7c03631c
authored
Oct 26, 2024
by
Administrator
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化一下提示
parent
065fa1b8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
5 deletions
+11
-5
gen_digit_human_video.vue
src/views/home/gen_digit_human_video.vue
+11
-5
No files found.
src/views/home/gen_digit_human_video.vue
View file @
7c03631c
...
...
@@ -201,13 +201,19 @@ const handleUploadShowImageOrVideoRemove: UploadProps['onRemove'] = (file, uploa
// 生成视频
const
onGenVideo
=
async
()
=>
{
if
(
!
form
.
text
||
form
.
text
.
length
==
0
||
!
form
.
sample_video_path
||
form
.
sample_video_path
.
length
==
0
!
form
.
text
||
form
.
text
.
length
==
0
)
{
ElMessage
({
message
:
'文案、出镜人物 均不能为空'
,
message
:
'请输入文案'
,
type
:
'error'
})
return
}
if
(
!
form
.
sample_video_path
||
form
.
sample_video_path
.
length
==
0
)
{
ElMessage
({
message
:
'请上传出镜人物视频'
,
type
:
'error'
})
return
...
...
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