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