Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
JM-15
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
template admin
JM-15
Commits
080238bd
Commit
080238bd
authored
Oct 20, 2021
by
limingzhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:没开始 刷新也不好使
parent
3d403f93
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
play.component.ts
src/app/play/play.component.ts
+2
-3
No files found.
src/app/play/play.component.ts
View file @
080238bd
...
@@ -567,7 +567,6 @@ export class PlayComponent implements OnInit, OnDestroy {
...
@@ -567,7 +567,6 @@ export class PlayComponent implements OnInit, OnDestroy {
c
.
onEvent
(
'
game_start
'
,
(
data
,
next
)
=>
{
c
.
onEvent
(
'
game_start
'
,
(
data
,
next
)
=>
{
this
.
setStoreData
(
'
progress
'
,
'
1
'
);
this
.
gameStart
();
this
.
gameStart
();
if
(
next
)
{
if
(
next
)
{
...
@@ -791,7 +790,7 @@ export class PlayComponent implements OnInit, OnDestroy {
...
@@ -791,7 +790,7 @@ export class PlayComponent implements OnInit, OnDestroy {
relink
()
{
relink
()
{
const
progress
=
this
.
get
Stor
eData
(
'
progress
'
);
const
progress
=
this
.
get
Pag
eData
(
'
progress
'
);
if
(
this
.
isTeacher
)
{
if
(
this
.
isTeacher
)
{
if
(
progress
!=
null
)
{
if
(
progress
!=
null
)
{
...
@@ -1904,7 +1903,7 @@ export class PlayComponent implements OnInit, OnDestroy {
...
@@ -1904,7 +1903,7 @@ export class PlayComponent implements OnInit, OnDestroy {
if
(
this
.
sendBtn
&&
this
.
sendBtn
.
visible
)
{
if
(
this
.
sendBtn
&&
this
.
sendBtn
.
visible
)
{
if
(
this
.
checkClickTargetSv
(
this
.
sendBtn
))
{
if
(
this
.
checkClickTargetSv
(
this
.
sendBtn
))
{
this
.
sendServerEvent
(
'
game_start
'
,
{});
this
.
sendServerEvent
(
'
game_start
'
,
{});
//
this.setPageData('progress', '1');
this
.
setPageData
(
'
progress
'
,
'
1
'
);
this
.
playAudio
(
'
submit
'
,
true
);
this
.
playAudio
(
'
submit
'
,
true
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment