Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
gm_flutter
Project
Project
Details
Activity
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
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
林生雨
gm_flutter
Commits
de2b030a
Commit
de2b030a
authored
Jul 06, 2020
by
朱翠翠
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'test' of
http://git.wanmeizhensuo.com/linshengyu/gm_flutter
into zcc/flutter
parents
27b41dbf
199d4573
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
JumpManager.dart
lib/MainRouter/manager/JumpManager.dart
+1
-1
main.dart
lib/main.dart
+1
-1
No files found.
lib/MainRouter/manager/JumpManager.dart
View file @
de2b030a
...
...
@@ -25,7 +25,7 @@ class JumpManager {
String
pageNameWrap
=
nativePage
?
"gm://
${pageName}
"
:
"flutter://
${pageName}
"
;
if
(!
MainManager
.
getInstance
().
isInit
)
{
JumpUtil
.
jumpToPageR
eplaceR
ight
(
context
,
initMap
(
params
)[
pageNameWrap
]);
JumpUtil
.
jumpToPageRight
(
context
,
initMap
(
params
)[
pageNameWrap
]);
}
else
{
FlutterBoost
.
singleton
.
open
(
pageName
,
urlParams:
params
);
}
...
...
lib/main.dart
View file @
de2b030a
...
...
@@ -58,7 +58,7 @@ class MyApp extends State<MyAppWidget> {
void
initState
()
{
super
.
initState
();
FlutterBoost
.
singleton
.
registerPageBuilders
({
'
demoPag
e'
:
(
pageName
,
params
,
_
)
{
'
clueLevelOn
e'
:
(
pageName
,
params
,
_
)
{
return
RouterCenterImpl
().
findClueRouter
().
getLevelOnePage
(
params
);
},
'demoPage1'
:
(
pageName
,
params
,
_
)
{
...
...
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