Commit 6ac56c50 authored by yu's avatar yu

表单

parent f81508e1
......@@ -110,6 +110,12 @@
</button>
</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>
......
......@@ -181,6 +181,11 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy {
audio_title: '',
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