Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
JJ19
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
JJ19
Commits
56ead165
Commit
56ead165
authored
Apr 22, 2024
by
limingzhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: debug
parent
cd6d9e02
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
3 deletions
+10
-3
form.component.html
form/src/app/form/form.component.html
+3
-3
form.component.ts
form/src/app/form/form.component.ts
+7
-0
No files found.
form/src/app/form/form.component.html
View file @
56ead165
...
...
@@ -47,13 +47,13 @@
<div
style=
"margin-top: 10px; display: flex; "
>
<span
style=
""
>
视频:
</span>
<div
style=
"width: 300px;"
>
<app-upload-video
[
videoUrl
]="
ques
.
video_url
"
<app-upload-video
[
videoUrl
]="
ques
.
video_url
||
''
"
(
videoUploaded
)="
onVideoUploadSuccess
($
event
,
ques
,
'
video_url
')"
>
</app-upload-video>
</div>
<
button
*
ngIf=
"ques.video_url"
style=
"float: right;"
nz-button
nzType=
""
(
click
)="
onDeletaImg
(
ques
,
'
video_url
')"
>
<
!-- <button *ngIf="ques.video_url" style="float: right;" nz-button nzType="" (click)="onDeleteVideo
(ques, 'video_url')">
x
</button>
</button>
-->
</div>
</div>
...
...
form/src/app/form/form.component.ts
View file @
56ead165
...
...
@@ -676,6 +676,13 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy {
delete
item
[
key
];
this
.
save
();
}
onDeleteVideo
(
item
,
key
)
{
item
[
key
]
=
''
;
this
.
save
();
}
/**
* 储存图片数据
* @param e
...
...
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