mirror of
https://github.com/continew-org/continew-admin.git
synced 2025-09-19 12:57:12 +08:00
fix: 修复前端控制台 eslint 告警
This commit is contained in:
@@ -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"
|
||||
/>
|
||||
|
Reference in New Issue
Block a user