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"> <Col :span="12">
<Slider <Slider
v-model:value=" v-model:value="
formData[dataRef.prop as keyof ComponentStyle] as number formData[dataRef.prop as keyof ComponentStyle]
" "
:max="100" :max="100"
:min="0" :min="0"

View File

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