mirror of
https://gitee.com/TSpecific/tuniao-ui.git
synced 2026-06-06 19:44:38 +08:00
【fix】 去掉多余的日志
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user