From e5b5622d4996b0fec5d9cce8e9697301c207865b Mon Sep 17 00:00:00 2001 From: hdx Date: Tue, 17 Oct 2023 11:16:32 +0800 Subject: [PATCH] =?UTF-8?q?slider-100:=20=E9=87=8D=E5=91=BD=E5=90=8D?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B=20SliderElement=20=E4=B8=BA=20UniSliderEleme?= =?UTF-8?q?nt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/component/slider-100/slider-100.uvue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pages/component/slider-100/slider-100.uvue b/pages/component/slider-100/slider-100.uvue index ce2d1d64..6c9ef5bb 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 }); } -- GitLab