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
5548c62a
Commit
5548c62a
authored
Jul 14, 2020
by
朱璇
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'zx/gmFlutter' into 'test'
Zx/gm flutter See merge request
!68
parents
f86da3ee
d7458324
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
8 deletions
+9
-8
LevelOneList.dart
lib/ClueModel/page/levelOne/LevelOneList.dart
+7
-6
main.dart
lib/main.dart
+2
-2
No files found.
lib/ClueModel/page/levelOne/LevelOneList.dart
View file @
5548c62a
...
@@ -144,12 +144,6 @@ class LevelOneListState extends State<LevelOneList>
...
@@ -144,12 +144,6 @@ class LevelOneListState extends State<LevelOneList>
:
""
);
:
""
);
},
},
ask:
()
{
ask:
()
{
var
data2
=
_model
.
data
[
index
];
if
(
data2
.
cardType
==
"doctor"
)
{
if
(!
data2
.
doctor
.
accept_private_msg
)
{
NativeToast
.
showNativeToast
(
"该机构未开通私信功能"
);
return
;
}
if
(
CacheManager
.
getInstance
()
if
(
CacheManager
.
getInstance
()
.
get
(
MEMORY_CACHE
)
.
get
(
MEMORY_CACHE
)
.
get
(
USER_ID
)
==
.
get
(
USER_ID
)
==
...
@@ -161,6 +155,13 @@ class LevelOneListState extends State<LevelOneList>
...
@@ -161,6 +155,13 @@ class LevelOneListState extends State<LevelOneList>
context
,
"show_login"
,
null
,
true
);
context
,
"show_login"
,
null
,
true
);
return
;
return
;
}
}
var
data2
=
_model
.
data
[
index
];
if
(
data2
.
cardType
==
"doctor"
)
{
if
(!
data2
.
doctor
.
accept_private_msg
)
{
NativeToast
.
showNativeToast
(
"该机构未开通私信功能"
);
return
;
}
buried_on_click_button
(
index
,
"consult"
,
buried_on_click_button
(
index
,
"consult"
,
"doctor"
,
data2
.
doctor
.
doctor_id
);
"doctor"
,
data2
.
doctor
.
doctor_id
);
RouterCenterImpl
().
findMainRouter
().
jumpPage
(
RouterCenterImpl
().
findMainRouter
().
jumpPage
(
...
...
lib/main.dart
View file @
5548c62a
...
@@ -18,8 +18,8 @@ NavigationService navigationService;
...
@@ -18,8 +18,8 @@ NavigationService navigationService;
bool
inProduction
=
true
;
bool
inProduction
=
true
;
void
main
(
)
{
void
main
(
)
{
inProduction
=
bool
.
fromEnvironment
(
"dart.vm.product"
);
//
inProduction = bool.fromEnvironment("dart.vm.product");
print
(
"DEBUG??
${inProduction}
"
);
//
print("DEBUG?? ${inProduction}");
navigationService
=
NavigationService
();
navigationService
=
NavigationService
();
WidgetsFlutterBinding
.
ensureInitialized
();
WidgetsFlutterBinding
.
ensureInitialized
();
FlutterError
.
onError
=
(
FlutterErrorDetails
details
)
async
{
FlutterError
.
onError
=
(
FlutterErrorDetails
details
)
async
{
...
...
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