Commit 6ac56c50 authored by yu's avatar yu

表单

parent f81508e1
...@@ -110,6 +110,12 @@ ...@@ -110,6 +110,12 @@
</button> </button>
</div> </div>
<div style="display: flex; justify-items: center; padding-top: 20px">
<button style="margin-left: 10px" nz-button nzType="danger" (click)="delGroup(m)">
<span>删除连线题</span>
</button>
</div>
</div> </div>
......
...@@ -181,6 +181,11 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy { ...@@ -181,6 +181,11 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy {
audio_title: '', audio_title: '',
group: [] group: []
}); });
this.save();
}
delGroup(i) {
this.item.splice(i, 1);
this.save();
} }
} }
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