From ec76aef22dc9c6208a2889ed46a43d0cbdbb5533 Mon Sep 17 00:00:00 2001 From: hdx Date: Wed, 29 Nov 2023 15:23:36 +0800 Subject: [PATCH] =?UTF-8?q?slider-100:=20=E7=A7=BB=E9=99=A4=20=E4=B8=8D?= =?UTF-8?q?=E5=BF=85=E8=A6=81=E7=9A=84=20"!"=EF=BC=8C=E5=9B=A0=E4=B8=BA?= =?UTF-8?q?=E5=B7=B2=E7=BB=8F=E4=BD=BF=E7=94=A8=E4=BA=86=20as=20=E8=AF=AD?= =?UTF-8?q?=E6=B3=95?= 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 6c9ef5bb..d90ad7ca 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 UniSliderElement[]).forEach((item) => { + (this.$refs["slider1"] as UniSliderElement[]).forEach((item) => { item.value = value }); - (this.$refs["slider2"]! as UniSliderElement[]).forEach((item) => { + (this.$refs["slider2"] as UniSliderElement[]).forEach((item) => { item.value = value }); - (this.$refs["slider3"]! as UniSliderElement[]).forEach((item) => { + (this.$refs["slider3"] as UniSliderElement[]).forEach((item) => { item.value = value }); - (this.$refs["slider4"]! as UniSliderElement[]).forEach((item) => { + (this.$refs["slider4"] as UniSliderElement[]).forEach((item) => { item.value = value }); } -- GitLab