fix: 修复添加学员启用开关布局

This commit is contained in:
2026-07-13 16:05:28 +08:00
parent bbd19cf9ed
commit 971440ebff
7 changed files with 79 additions and 3 deletions

View File

@@ -861,9 +861,14 @@ function formatRecordDateTime(value: string, boundary: "start" | "end") {
<span>有效期</span>
<input v-model="studentForm.expiredAt" type="date" aria-label="学员有效期" title="留空表示长期有效" />
</label>
<div class="form-switch-row">
<div class="student-status-field">
<span>启用</span>
<el-switch v-model="studentForm.status" :active-value="1" :inactive-value="0" />
<el-switch
v-model="studentForm.status"
:active-value="1"
:inactive-value="0"
aria-label="启用学员账号"
/>
</div>
</div>
<div class="actions compact">