| } | } | ||||
| }, | }, | ||||
| getClaw: function () {//抓取 | getClaw: function () {//抓取 | ||||
| this.endGame(); | |||||
| clearInterval(this.data.setGroup.top); | clearInterval(this.data.setGroup.top); | ||||
| clearInterval(this.data.setGroup.left); | clearInterval(this.data.setGroup.left); | ||||
| clearInterval(this.data.setGroup.right); | clearInterval(this.data.setGroup.right); | ||||
| }) | }) | ||||
| if (this.data.startDown == -1) { | if (this.data.startDown == -1) { | ||||
| clearInterval(setInt2); | clearInterval(setInt2); | ||||
| this.endGame(); | |||||
| if (this.data.gameSign) { | if (this.data.gameSign) { | ||||
| this.downTimeFun(); | this.downTimeFun(); | ||||
| } | } |