Commit cc97239b authored by 范雪寒's avatar 范雪寒

feat:

parent 53bfe6b5
......@@ -19,6 +19,13 @@
<span style="font-size: 20px;">第{{i + 1}}题:</span>
<br>
<input type="text" style="width: 200px;" nz-input [(ngModel)]="question.text" (blur)="save()">
<br>
<span style="font-size: 20px;">正确的字母:</span>
<input type="text" style="width: 200px;" nz-input [(ngModel)]="question.rightLetter" (blur)="save()">
<br>
<span style="font-size: 20px;">错误的字母:</span>
<input type="text" style="width: 200px;" nz-input [(ngModel)]="question.wrongLetter" (blur)="save()">
<app-audio-recorder [audioUrl]="question.audio" (audioUploaded)="onAudioUploadSuccess($event, question)">
</app-audio-recorder>
<app-upload-dragon-bone [btnName]="[['配置骨骼动画']]" [animaNames]="[[['normal']]]"
......
......@@ -79,6 +79,8 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy {
addQuestion() {
this.item.questions.push({
text: "",
rightLetter: "",
wrongLetter: "",
audio: "",
choosewaitTime: 5,
testWaitTime: 3,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment