Commit 06f1b29f authored by 李维's avatar 李维

更新表单

parent 1c727712
No preview for this file type
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
......@@ -72,7 +72,7 @@
</div>
</div>
<div *ngIf="item.questionType == 1" style="display: flex; margin-bottom: 10px;">
<div style="display: flex; margin-bottom: 10px;">
<div style="flex:1">
答案类型
</div>
......@@ -219,10 +219,13 @@
<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>
<nz-radio-group [(ngModel)]="item.choice.choiceQuestionRight" (ngModelChange)="saveItem()">
<label nz-radio [nzValue]="true">正确</label>
<label nz-radio [nzValue]="false">错误</label>
</nz-radio-group>
</div>
</div>
</div>
......
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