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
dc710ad1
Commit
dc710ad1
authored
May 24, 2019
by
jinzhu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
udpate flutter
parent
c2950920
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
comment_suggest.dart
lib/comment_suggest.dart
+7
-2
main.dart
lib/main.dart
+1
-1
No files found.
lib/comment_suggest.dart
View file @
dc710ad1
...
...
@@ -164,8 +164,13 @@ class _CommentSuggestPageState extends State<CommentSuggestPage> {
}
}
).
then
((
error
){
Toast
.
show
(
context
,
'提交失败'
);
print
(
error
);
if
(
error
!=
null
)
{
Toast
.
show
(
context
,
'提交失败'
);
print
(
error
);
}
else
{
FlutterBoost
.
singleton
.
closePageForContext
(
context
);
}
});
}
...
...
lib/main.dart
View file @
dc710ad1
...
...
@@ -42,7 +42,7 @@ class _MyAppState extends State<MyApp> {
debugShowCheckedModeBanner:
false
,
initialRoute:
'/test'
,
//调试的时候可以打开
routes:
{
'/'
:
(
context
)
=>
CommentSuggest
({
'cookie'
:
'124'
}),
'/'
:
(
context
)
=>
CommentSuggest
({
"Cookie"
:
" _gm_token=7e48641558699683; sessionid=nb3ze4ur7ucosln8sd8pzwojddenv9ym; _gtid=a1bc0a387e1911e996b9525400fa516d4094"
}),
},
//调试的时候可以打开
builder:
FlutterBoost
.
init
(
postPush:
_onRoutePushed
),
theme:
new
ThemeData
(
...
...
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