提交 e5b5622d 编写于 作者: H hdx

slider-100: 重命名类型 SliderElement 为 UniSliderElement

上级 445112c5
...@@ -45,16 +45,16 @@ ...@@ -45,16 +45,16 @@
// this.sliderValue = value // this.sliderValue = value
// TODO 跳过vue框架,直接修改原生组件 // TODO 跳过vue框架,直接修改原生组件
(this.$refs["slider1"]! as SliderElement[]).forEach((item) => { (this.$refs["slider1"]! as UniSliderElement[]).forEach((item) => {
item.value = value item.value = value
}); });
(this.$refs["slider2"]! as SliderElement[]).forEach((item) => { (this.$refs["slider2"]! as UniSliderElement[]).forEach((item) => {
item.value = value item.value = value
}); });
(this.$refs["slider3"]! as SliderElement[]).forEach((item) => { (this.$refs["slider3"]! as UniSliderElement[]).forEach((item) => {
item.value = value item.value = value
}); });
(this.$refs["slider4"]! as SliderElement[]).forEach((item) => { (this.$refs["slider4"]! as UniSliderElement[]).forEach((item) => {
item.value = value item.value = value
}); });
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册