fix:【ele/antd】【mall】component-container-property.vue 的报错

This commit is contained in:
YunaiV
2025-11-06 22:37:44 +08:00
parent 63e94da3ca
commit 9248a321fe
2 changed files with 2 additions and 4 deletions

View File

@@ -174,7 +174,7 @@ function handleSliderChange(prop: string) {
<Col :span="12">
<Slider
v-model:value="
formData[dataRef.prop as keyof ComponentStyle] as number
formData[dataRef.prop as keyof ComponentStyle]
"
:max="100"
:min="0"

View File

@@ -169,9 +169,7 @@ const handleSliderChange = (prop: string) => {
class="mb-0 w-full"
>
<ElSlider
v-model="
formData[data.prop as keyof ComponentStyle] as number
"
v-model="formData[data.prop]"
:max="100"
:min="0"
show-input