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
3b9c98ca
Commit
3b9c98ca
authored
1 year ago
by
周成波
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
v20240202
parent
b15284cb
main
2024-09-12-ok
master
No related merge requests found
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
53 additions
and
31 deletions
+53
-31
text2videoService.ts
src/api/service/text2videoService.ts
+2
-2
index.vue
src/views/home/index.vue
+51
-29
No files found.
src/api/service/text2videoService.ts
View file @
3b9c98ca
...
...
@@ -68,11 +68,11 @@ export default {
});
},
submitGenVideo
(
gen_video_param
:
Wm
.
GenVideoItem
[]
):
Promise
<
string
>
{
submitGenVideo
(
gen_video_param
:
any
):
Promise
<
string
>
{
if
(
!
gen_video_param
)
{
return
Promise
.
reject
(
"输入不能为空"
);
}
const
post_data
=
{
task
:
gen_video_param
}
const
post_data
=
gen_video_param
return
request
.
post
(
'/text2video/gen_video'
,
post_data
)
.
then
((
res
:
any
)
=>
{
// console.log(res);
...
...
This diff is collapsed.
Click to expand it.
src/views/home/index.vue
View file @
3b9c98ca
This diff is collapsed.
Click to expand it.
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