From 5f94e80b73809351205ca2ba8f75b84bb1898130 Mon Sep 17 00:00:00 2001 From: zhengliming Date: Wed, 21 Feb 2024 01:14:22 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90fix=E3=80=91=20=E5=8E=BB=E6=8E=89?= =?UTF-8?q?=E5=A4=9A=E4=BD=99=E7=9A=84=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tuniao-ui/components/tn-slider/tn-slider.vue | 2 -- 1 file changed, 2 deletions(-) diff --git a/tuniao-ui/components/tn-slider/tn-slider.vue b/tuniao-ui/components/tn-slider/tn-slider.vue index db9d080..3b3ed1d 100644 --- a/tuniao-ui/components/tn-slider/tn-slider.vue +++ b/tuniao-ui/components/tn-slider/tn-slider.vue @@ -170,7 +170,6 @@ }, // 滑动结束 touchEnd() { - console.log("结束。。。"); if(this.disabled) return if (this.status === 'moving') { this.updateValue(this.newValue, false) @@ -203,7 +202,6 @@ }, // 点击事件 click(event) { - console.log("开始点击"); if (this.disabled) return // 直接点击的情况,计算方式和touchMove方法一致 const value = (((event.detail.x - this.sliderRect.left) / this.sliderRect.width) * (this.max - this.min)) + this.min