fix: 修复前端控制台 eslint 告警

This commit is contained in:
Bull-BCLS
2023-11-14 09:34:21 +08:00
parent 5f4f0f1b21
commit 2304f28a94
17 changed files with 38 additions and 32 deletions

View File

@@ -3,12 +3,12 @@
v-if="type === 'number'"
:style="{ width: '80px' }"
size="small"
:default-value="(defaultValue as number)"
:default-value="defaultValue as number"
@change="handleChange"
/>
<a-switch
v-else
:default-checked="(defaultValue as boolean)"
:default-checked="defaultValue as boolean"
size="small"
@change="handleChange"
/>