Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
max_android_panel
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Zhang Xin
max_android_panel
Commits
94f7c791
Commit
94f7c791
authored
Nov 14, 2019
by
niuxinyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
关门优化2
parent
dc5ea835
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
client/containers/HomePageContainer/HomePageContainer.jsx
+1
-1
No files found.
client/containers/HomePageContainer/HomePageContainer.jsx
View file @
94f7c791
...
@@ -69,7 +69,7 @@ export default class HomePageContainer extends React.Component{
...
@@ -69,7 +69,7 @@ export default class HomePageContainer extends React.Component{
this
.
onConnectionChange
()
this
.
onConnectionChange
()
const
{
rtt
,
downlink
,
effectiveType
,
saveData
}
=
navigator
.
connection
;
const
{
rtt
,
downlink
,
effectiveType
,
saveData
}
=
navigator
.
connection
;
if
(
rtt
<
3000
&&
rtt
!=
0
){
if
(
rtt
<
2000
0
){
this
.
props
.
willCloseDoor
().
then
(()
=>
{
this
.
props
.
willCloseDoor
().
then
(()
=>
{
this
.
props
.
endCountBack
();
this
.
props
.
endCountBack
();
let
msg
=
{
type
:
'WILL_CLOSEDOOR'
};
let
msg
=
{
type
:
'WILL_CLOSEDOOR'
};
...
...
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