Commit a78e3e01 authored by leon's avatar leon

fix: remove console log

parent 41aa6707
......@@ -120,9 +120,7 @@
this.moveY = moveY;
},
touchEnd(event) {
if (Math.abs(this.moveX) > 40 && this.like_state != -100) {
console.log("this index = " , this.index)
var state = this.like_state
if (Math.abs(this.moveX) > 40 && this.like_state != -100) { var state = this.like_state
this.like_state = -100 //设置这个数是为了避免滑动之后点击不走touchMove而产生的不正常滑动
//这里放需要进行的业务逻辑
if (state === 1 && this.index < this.popupData.length - 1) {
......@@ -141,9 +139,7 @@
this.animationData = {}
}, 250)
this.index += 1
// this.popupObject = this.popupData[this.index]
this.$set(this.popupObject, '', this.popupData[this.index])
console.log("end this index = " , this.index)
}
if (state === -1 && this.index > 0) {
this.animation.translateX('100%').step()
......@@ -161,11 +157,8 @@
this.animationData = {}
}, 250)
this.index -= 1
// this.popupObject = this.popupData[this.index]
this.$set(this.popupObject, '', this.popupData[this.index])
console.log("end this index = " , this.index)
}
console.log("popupObject = ", this.popupObject)
}
}
}
......
......@@ -114,7 +114,6 @@
this.tabsValueChange()
},
handleSelectChange(e) {
console.log(e)
this.selectValue = e[0].label
this.tabsValue = e[0].value
this.defaultValue[0] = [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment