Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
RB-studyChina-20250617
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
SparkProjects
RB-studyChina-20250617
Commits
6f2caee2
Commit
6f2caee2
authored
May 27, 2025
by
haiyoucuv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
11
parent
076ecc5d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
exitPop.jsx
src/components/exitPop/exitPop.jsx
+1
-0
GamePage.tsx
src/pages/GamePage/GamePage.tsx
+6
-1
No files found.
src/components/exitPop/exitPop.jsx
View file @
6f2caee2
...
...
@@ -11,6 +11,7 @@ class ExitPop extends Component {
closeModal
=
()
=>
{
ModalCtrl
.
closeModal
();
this
.
props
.
cancel
&&
this
.
props
.
cancel
();
}
backHome
=
()
=>
{
...
...
src/pages/GamePage/GamePage.tsx
View file @
6f2caee2
...
...
@@ -102,7 +102,12 @@ class GamePage extends React.Component<any, any> {
};
clickBack
=
()
=>
{
ModalCtrl
.
showModal
(
ExitPop
)
this
.
game
.
setPauseCd
(
true
);
ModalCtrl
.
showModal
(
ExitPop
,
{
cancel
:
()
=>
{
this
.
game
.
setPauseCd
(
false
);
}
})
// PageCtrl.backPage();
}
...
...
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