Commit a78e3e01 authored by leon's avatar leon

fix: remove console log

parent 41aa6707
...@@ -120,9 +120,7 @@ ...@@ -120,9 +120,7 @@
this.moveY = moveY; this.moveY = moveY;
}, },
touchEnd(event) { touchEnd(event) {
if (Math.abs(this.moveX) > 40 && this.like_state != -100) { if (Math.abs(this.moveX) > 40 && this.like_state != -100) { var state = this.like_state
console.log("this index = " , this.index)
var state = this.like_state
this.like_state = -100 //设置这个数是为了避免滑动之后点击不走touchMove而产生的不正常滑动 this.like_state = -100 //设置这个数是为了避免滑动之后点击不走touchMove而产生的不正常滑动
//这里放需要进行的业务逻辑 //这里放需要进行的业务逻辑
if (state === 1 && this.index < this.popupData.length - 1) { if (state === 1 && this.index < this.popupData.length - 1) {
...@@ -141,9 +139,7 @@ ...@@ -141,9 +139,7 @@
this.animationData = {} this.animationData = {}
}, 250) }, 250)
this.index += 1 this.index += 1
// this.popupObject = this.popupData[this.index]
this.$set(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) { if (state === -1 && this.index > 0) {
this.animation.translateX('100%').step() this.animation.translateX('100%').step()
...@@ -161,11 +157,8 @@ ...@@ -161,11 +157,8 @@
this.animationData = {} this.animationData = {}
}, 250) }, 250)
this.index -= 1 this.index -= 1
// this.popupObject = this.popupData[this.index]
this.$set(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 @@ ...@@ -114,7 +114,6 @@
this.tabsValueChange() this.tabsValueChange()
}, },
handleSelectChange(e) { handleSelectChange(e) {
console.log(e)
this.selectValue = e[0].label this.selectValue = e[0].label
this.tabsValue = e[0].value this.tabsValue = e[0].value
this.defaultValue[0] = [ 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