Commit 3ebf9844 authored by limingzhe's avatar limingzhe

fix: debug

parent 5a77febf
<div style="margin: 30px;"> <div style="margin: 30px;">
<div style="margin: 30px; display: flex; align-items: center; ">
<h3>分数反馈</h3>
<label style="margin-left: 10px; margin-bottom: 5px;" nz-checkbox [(ngModel)]="item.isShowScore" (ngModelChange)="checkboxChange($event, item, 'isShowScore')"></label>
</div>
<!-- 单词表单数据 --> <!-- 单词表单数据 -->
<div style="border: 2px #ccc solid; border-radius: 15px; width: 1000px; margin: 30px"> <div style="border: 2px #ccc solid; border-radius: 15px; width: 1000px; margin: 30px">
<div style="padding: 20px; margin-bottom: 20px;"> <div style="padding: 20px; margin-bottom: 20px;">
......
...@@ -624,4 +624,12 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy { ...@@ -624,4 +624,12 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy {
this.message.info(`准备为选项生成音频`); this.message.info(`准备为选项生成音频`);
} }
checkboxChange(e, it, key) {
console.log('e: ', e);
it[key] = e;
this.save();
}
} }
\ No newline at end of file
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