Commit c15fb9c1 authored by 李维's avatar 李维

修改表单

parent a969312d
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
...@@ -217,7 +217,14 @@ ...@@ -217,7 +217,14 @@
</div> </div>
<div *ngIf="item.questionType == 2" class="section" > <div *ngIf="item.questionType == 2" class="section" >
<div style="display: flex; margin-bottom: 10px;">
<div style="flex:1">
是否正确
</div>
<div style="flex:5">
<nz-switch [(ngModel)]="item.choice.choiceQuestionRight" (ngModelChange)="saveItem()"></nz-switch>
</div>
</div>
</div> </div>
<div class="section" > <div class="section" >
......
...@@ -73,9 +73,9 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy { ...@@ -73,9 +73,9 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy {
correct:{ showType: 1, text: "", image_url: "", audio_url: "" }, correct:{ showType: 1, text: "", image_url: "", audio_url: "" },
incorrect:[ incorrect:[
{ showType: 1, text: "", image_url: "", audio_url: "" }, { showType: 1, text: "", image_url: "", audio_url: "" },
{ showType: 1, text: "", image_url: "", audio_url: "" }, { showType: 1, text: "", image_url: "", audio_url: "" }
{ showType: 1, text: "", image_url: "", audio_url: "" }, ],
] choiceQuestionRight: false,
} }
}; };
} }
......
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