Commit 13acc05e authored by limingzhe's avatar limingzhe

fix: 断线 重连 异常

parent b9bdd406
...@@ -671,11 +671,7 @@ export class PlayComponent implements OnInit, OnDestroy { ...@@ -671,11 +671,7 @@ export class PlayComponent implements OnInit, OnDestroy {
if (progress == '1') { if (progress == '1') {
const resultData = this.getStoreData('resultData') this.gameStart();
if (resultData) {
this.initResultView(resultData);
return;
}
const progressStore = this.getStoreData('progress') const progressStore = this.getStoreData('progress')
if (progressStore == '2' || progressStore == '3') { if (progressStore == '2' || progressStore == '3') {
...@@ -685,7 +681,12 @@ export class PlayComponent implements OnInit, OnDestroy { ...@@ -685,7 +681,12 @@ export class PlayComponent implements OnInit, OnDestroy {
return; return;
} }
this.gameStart(); const resultData = this.getStoreData('resultData')
if (resultData) {
this.initResultView(resultData);
return;
}
return; return;
} }
......
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