Commit 080238bd authored by limingzhe's avatar limingzhe

fix:没开始 刷新也不好使

parent 3d403f93
......@@ -567,7 +567,6 @@ export class PlayComponent implements OnInit, OnDestroy {
c.onEvent('game_start', (data, next) => {
this.setStoreData('progress', '1');
this.gameStart();
if (next) {
......@@ -791,7 +790,7 @@ export class PlayComponent implements OnInit, OnDestroy {
relink() {
const progress = this.getStoreData('progress');
const progress = this.getPageData('progress');
if (this.isTeacher) {
if (progress != null) {
......@@ -1904,7 +1903,7 @@ export class PlayComponent implements OnInit, OnDestroy {
if (this.sendBtn && this.sendBtn.visible) {
if (this.checkClickTargetSv(this.sendBtn)) {
this.sendServerEvent('game_start', {});
// this.setPageData('progress', '1');
this.setPageData('progress', '1');
this.playAudio('submit', true);
}
......
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