diff --git a/pages/component/slider-100/slider-100.uvue b/pages/component/slider-100/slider-100.uvue index ce2d1d640cbe4a4f0e29f1d78464068255483892..6c9ef5bb544181feac74825c81f459d029cb14ba 100644 --- a/pages/component/slider-100/slider-100.uvue +++ b/pages/component/slider-100/slider-100.uvue @@ -45,16 +45,16 @@ // this.sliderValue = value // TODO 跳过vue框架,直接修改原生组件 - (this.$refs["slider1"]! as SliderElement[]).forEach((item) => { + (this.$refs["slider1"]! as UniSliderElement[]).forEach((item) => { item.value = value }); - (this.$refs["slider2"]! as SliderElement[]).forEach((item) => { + (this.$refs["slider2"]! as UniSliderElement[]).forEach((item) => { item.value = value }); - (this.$refs["slider3"]! as SliderElement[]).forEach((item) => { + (this.$refs["slider3"]! as UniSliderElement[]).forEach((item) => { item.value = value }); - (this.$refs["slider4"]! as SliderElement[]).forEach((item) => { + (this.$refs["slider4"]! as UniSliderElement[]).forEach((item) => { item.value = value }); }