Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cartoon_video
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
template admin
cartoon_video
Commits
2a09042e
Commit
2a09042e
authored
Feb 06, 2025
by
liujiangnan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat
parent
7dd01852
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
form.component.ts
form/src/app/form/form.component.ts
+0
-3
No files found.
form/src/app/form/form.component.ts
View file @
2a09042e
...
@@ -32,7 +32,6 @@ export class FormComponent extends ComponentBase implements OnInit, OnChanges, O
...
@@ -32,7 +32,6 @@ export class FormComponent extends ComponentBase implements OnInit, OnChanges, O
item
=
{
item
=
{
video_url
:
""
,
video_url
:
""
,
pic_id
:
""
};
};
constructor
(
public
nzMessageService
:
NzMessageService
,
private
http
:
HttpClient
,
public
appRef
:
ApplicationRef
,
public
changeDetectorRef
:
ChangeDetectorRef
)
{
constructor
(
public
nzMessageService
:
NzMessageService
,
private
http
:
HttpClient
,
public
appRef
:
ApplicationRef
,
public
changeDetectorRef
:
ChangeDetectorRef
)
{
...
@@ -108,8 +107,6 @@ export class FormComponent extends ComponentBase implements OnInit, OnChanges, O
...
@@ -108,8 +107,6 @@ export class FormComponent extends ComponentBase implements OnInit, OnChanges, O
this
.
http
.
post
(
this
.
uploadUrl
,
formData
).
subscribe
(
this
.
http
.
post
(
this
.
uploadUrl
,
formData
).
subscribe
(
(
res
:
any
)
=>
{
(
res
:
any
)
=>
{
(
window
as
any
).
courseware
.
sendEvent
(
"
screenshot
"
,
{
"
url
"
:
res
.
url
},
this
.
saveKey
);
(
window
as
any
).
courseware
.
sendEvent
(
"
screenshot
"
,
{
"
url
"
:
res
.
url
},
this
.
saveKey
);
this
.
item
.
pic_id
=
res
.
url
;
this
.
save
();
},
},
(
err
)
=>
{
(
err
)
=>
{
console
.
log
(
err
);
console
.
log
(
err
);
...
...
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