Commit f9984207 authored by JinWei's avatar JinWei

feat: 切换时默认自动播放音频

parent dc9113fb
...@@ -142,8 +142,8 @@ ...@@ -142,8 +142,8 @@
<div style="display: flex; align-items: center; justify-content: space-between;"> <div style="display: flex; align-items: center; justify-content: space-between;">
<div style="display: flex; align-items: center;"> <div style="display: flex; align-items: center;">
<h4>设置选项-{{j+1}}:</h4> <h4>设置选项-{{j+1}}:</h4>
<label style="margin-left: 8px;" nz-checkbox [(ngModel)]="option.audioAutoPlay" *ngIf="ques.optionTypeAudio" <label style="margin-left: 8px;" nz-checkbox [ngModel]="option.audioAutoPlay !== false" *ngIf="ques.optionTypeAudio"
(ngModelChange)="save()">开启播放音频</label> (ngModelChange)="option.audioAutoPlay = $event; save()">开启播放音频</label>
</div> </div>
<button style="float:right" nz-button nzType="danger" (click)="deleteOptionBtnClick(ques, j)"> <button style="float:right" nz-button nzType="danger" (click)="deleteOptionBtnClick(ques, j)">
x x
......
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