Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
gmalpha_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
mobile
gmalpha_flutter
Commits
59060253
Commit
59060253
authored
Sep 26, 2019
by
杜欣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
type check
parent
0acb9bbe
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
main.dart
lib/main.dart
+10
-10
No files found.
lib/main.dart
View file @
59060253
...
@@ -54,8 +54,8 @@ class _MyAppState extends State<MyApp> {
...
@@ -54,8 +54,8 @@ class _MyAppState extends State<MyApp> {
Api
.
getInstance
().
initBuildConfig
(
params
)
==
null
)
{
Api
.
getInstance
().
initBuildConfig
(
params
)
==
null
)
{
return
ErrorPage
(
"出错:需要传递的参数为空"
);
return
ErrorPage
(
"出错:需要传递的参数为空"
);
}
}
int
survey_record_id
=
int
.
parse
(
params
[
"survey_record_id"
])
;
int
survey_record_id
=
params
[
"survey_record_id"
]
?
int
.
parse
(
params
[
"survey_record_id"
])
:
null
;
int
template_id
=
int
.
parse
(
params
[
"template_id"
])
;
int
template_id
=
params
[
"survey_record_id"
]
?
int
.
parse
(
params
[
"template_id"
])
:
1
;
return
RouterCenterImpl
()
return
RouterCenterImpl
()
.
findActivityReportRouter
()
.
findActivityReportRouter
()
?.
getActivityReportPage
(
survey_record_id
,
template_id
,
fromPage
);
?.
getActivityReportPage
(
survey_record_id
,
template_id
,
fromPage
);
...
@@ -72,14 +72,14 @@ class _MyAppState extends State<MyApp> {
...
@@ -72,14 +72,14 @@ class _MyAppState extends State<MyApp> {
// initialRoute: '/test',
// initialRoute: '/test',
//// 调试的时候可以打开
//// 调试的时候可以打开
routes:
{
//
routes: {
// '/': (context) => CommentSuggest({"Cookie":" _gm_token=7e48641558699683; sessionid=nb3ze4ur7ucosln8sd8pzwojddenv9ym; _gtid=a1bc0a387e1911e996b9525400fa516d4094"}),
//
// '/': (context) => CommentSuggest({"Cookie":" _gm_token=7e48641558699683; sessionid=nb3ze4ur7ucosln8sd8pzwojddenv9ym; _gtid=a1bc0a387e1911e996b9525400fa516d4094"}),
'/'
:
(
context
)
{
//
'/': (context) {
Api
.
getInstance
().
initBuildConfig
({
'Cookie'
:
'_gm_token=72ee1c1569466411; _gtid=58d3cc14df8711e99736525400e82fab81; sessionid=vhksn66854pejzjwi8ljhrmcew3domh2'
//
Api.getInstance().initBuildConfig({'Cookie':'_gm_token=72ee1c1569466411; _gtid=58d3cc14df8711e99736525400e82fab81; sessionid=vhksn66854pejzjwi8ljhrmcew3domh2'
,
"buildConfig"
:
"debug"
});
//
,"buildConfig":"debug"});
return
RouterCenterImpl
().
findActivityReportRouter
()?.
getActivityReportPage
(
169
,
1
,
''
);
//
return RouterCenterImpl().findActivityReportRouter()?.getActivityReportPage(169, 1, '');
},
//
},
},
//
},
//调试的时候可以打开
//调试的时候可以打开
builder:
FlutterBoost
.
init
(
postPush:
_onRoutePushed
),
builder:
FlutterBoost
.
init
(
postPush:
_onRoutePushed
),
...
...
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