|
@@ -43,20 +43,18 @@ export default {
|
|
|
} while (this.imgStateList[this.currentFrameIdx] === false)
|
|
|
if (this.currentFrameIdx >= 927 - 1) {
|
|
|
clearInterval(this.intervalId)
|
|
|
+ let mc = new Hammer(this.$refs['hammer-target'])
|
|
|
+ mc.get('pan').set({ direction: Hammer.DIRECTION_ALL })
|
|
|
+ const that = this
|
|
|
+ mc.on("panup", function me() {
|
|
|
+ mc.off('panup', me)
|
|
|
+ that.$router.push({ name: 'TreeSelection' })
|
|
|
+ })
|
|
|
}
|
|
|
} else {
|
|
|
this.isLoading = true
|
|
|
}
|
|
|
}, 41)
|
|
|
-
|
|
|
- let mc = new Hammer(this.$refs['hammer-target'])
|
|
|
- mc.get('pan').set({ direction: Hammer.DIRECTION_ALL })
|
|
|
- const that = this
|
|
|
- mc.on("panup", function me(ev) {
|
|
|
- mc.off('panup', me)
|
|
|
- clearInterval(that.intervalId)
|
|
|
- that.$router.push({ name: 'TreeSelection' })
|
|
|
- })
|
|
|
},
|
|
|
unmounted() {
|
|
|
},
|