Commit 2331ffeb authored by 李维's avatar 李维

Bug fix

parent c299c1cd
......@@ -77,7 +77,7 @@
<div class="section-title" >
正确选项
<div style="text-align: center; float: right;">
<button nz-button nzType="primary" (click)="addChoice(item.correct)" >
<button nz-button nzType="primary" (click)="addChoice(item.correct)" [disabled]="(item.correct.length + item.incorrect.length)>=5" >
<i nz-icon nzType="plus-circle" nzTheme="outline"></i>
添加
</button>
......@@ -133,7 +133,7 @@
<div class="section-title" >
错误选项
<div style="text-align: center; float: right;">
<button nz-button nzType="primary" (click)="addChoice(item.incorrect)" [disabled]="item.incorrect.length>=4" >
<button nz-button nzType="primary" (click)="addChoice(item.incorrect)" [disabled]="(item.correct.length + item.incorrect.length)>=5" >
<i nz-icon nzType="plus-circle" nzTheme="outline"></i>
添加
</button>
......
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