Commit 8a5ee75a authored by wildfirecode's avatar wildfirecode

Merge branch 'hotfix20200330_' of gitlab2.dui88.com:wanghongyuan/xiaoxiaole into hotfix20200330_

parents e30311d9 e5f98ab7
This diff is collapsed.
...@@ -219,7 +219,7 @@ export class Element extends eui.Component { ...@@ -219,7 +219,7 @@ export class Element extends eui.Component {
} }
changeShowCannoStat(){ changeShowCannoStat(){
this.cannolab.text = this._cannoStat+""; this.cannolab.text = this._cannoStat+"";
this.cannoMoveClip.gotoAndPlay(this.cannoStat[this._cannoStat]); this.cannoMoveClip&&this.cannoMoveClip.gotoAndPlay(this.cannoStat[this._cannoStat]);
} }
checkCannoStat(){ checkCannoStat(){
if(this._cannoStat==3){ if(this._cannoStat==3){
...@@ -511,7 +511,7 @@ export class Element extends eui.Component { ...@@ -511,7 +511,7 @@ export class Element extends eui.Component {
listenCn(){ listenCn(){
var statend = this.cannoStat[this._cannoStat+1]; var statend = this.cannoStat[this._cannoStat+1];
if(this.cannoMoveClip.currentFrame>=statend){ if(this.cannoMoveClip.currentFrame>=statend){
console.log("炮台阶段动画播放完毕",this.cannoMoveClip.currentFrame); // console.log("炮台阶段动画播放完毕",this.cannoMoveClip.currentFrame);
this.cannoMoveClip.stop(); this.cannoMoveClip.stop();
} }
} }
......
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