diff --git a/src/slider/demos/label.vue b/src/slider/demos/label.vue index 9f0da80e2..8e3d89a29 100644 --- a/src/slider/demos/label.vue +++ b/src/slider/demos/label.vue @@ -11,8 +11,8 @@ import { ref } from 'vue'; const value = ref(10); -const onChange = (e: any) => { - value.value = e.value; +const onChange = (e: number) => { + value.value = e; };