Commit 2b4d5e77 authored by limingzhe's avatar limingzhe

fix: debug

parent 83aff735
...@@ -5,6 +5,13 @@ ...@@ -5,6 +5,13 @@
<input type="text" nz-input [(ngModel)]="item.title" (blur)="save()" style=" width: 350px;"> <input type="text" nz-input [(ngModel)]="item.title" (blur)="save()" style=" width: 350px;">
</div> </div>
<div style="margin: 30px; display: flex; align-items: center;">
<h3 style="">音频:</h3>
<app-audio-recorder [audioUrl]="item.audio_url"
(audioUploaded)="onItemAudioUploadSuccess($event, item, 'audio_url')">
</app-audio-recorder>
</div>
<div *ngIf="item && item.quesArr" style="border: 2px #ccc solid; border-radius: 15px; width: 1000px; margin: 30px"> <div *ngIf="item && item.quesArr" style="border: 2px #ccc solid; border-radius: 15px; width: 1000px; margin: 30px">
<div *ngFor="let ques of item.quesArr; let i = index" <div *ngFor="let ques of item.quesArr; let i = index"
......
...@@ -506,7 +506,6 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy { ...@@ -506,7 +506,6 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy {
this.initItem(); this.initItem();
console.log("this.item: ", JSON.stringify(this.item)); console.log("this.item: ", JSON.stringify(this.item));
this.init(); this.init();
......
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