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
ddc1dd41
Commit
ddc1dd41
authored
6 years ago
by
Zhang Xin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ç改成正常测试版本
parent
2b057a5c
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
15 additions
and
9 deletions
+15
-9
client/containers/PageContainer/PageContainer.jsx
+7
-4
client/env/development.js
+2
-1
client/env/production.js
+2
-1
client/env/test.js
+2
-1
client/util/logger.js
+1
-1
client/util/socket.js
+1
-1
No files found.
client/containers/PageContainer/PageContainer.jsx
View file @
ddc1dd41
...
...
@@ -410,7 +410,9 @@ class PageContainer extends React.Component {
endCountBack
(){
this
.
countBackTime
=
-
1
;
clearTimeout
(
this
.
countbackTimer
);
if
(
this
.
countbackTimer
){
clearTimeout
(
this
.
countbackTimer
);
}
this
.
countbackTimer
=
null
;
UTILPATH
.
myLogger
.
info
(
"endCountBack countBackTime "
,
this
.
countBackTime
);
}
...
...
@@ -425,7 +427,7 @@ class PageContainer extends React.Component {
}
countBack
(){
UTILPATH
.
myLogger
.
info
(
"countBack countBackTime "
,
this
.
countBackTime
);
//
UTILPATH.myLogger.info("countBack countBackTime ",this.countBackTime);
if
(
!
this
.
countbackTimer
&&
this
.
countBackTime
>=
0
){
this
.
countBackTime
--
;
this
.
countbackTimer
=
window
.
setTimeout
(()
=>
{
...
...
@@ -527,8 +529,9 @@ class PageContainer extends React.Component {
let
btnBorderRadius
=
UTILPATH
.
getRemByPx
(
10
);
//老机器
this
.
handleCloseDoor
();
//
this.handleCloseDoor();
/*
this.setState({
popupInfo:defaultPopupInfo
},()=>{
...
...
@@ -551,6 +554,7 @@ class PageContainer extends React.Component {
})
*/
}
...
...
@@ -799,7 +803,6 @@ class PageContainer extends React.Component {
closeDoor=
{
true
}
tempLogout=
{
()
=>
this
.
tempLogout
.
bind
(
this
)()
}
changeIsSend
={
this
.
changeIsSend
.
bind
(
this
)}
beginCloseDoor=
{
this
.
beginCloseDoor
.
bind
(
this
)
}
endCountBack=
{
this
.
endCountBack
}
/>
;
break;
...
...
This diff is collapsed.
Click to expand it.
client/env/development.js
View file @
ddc1dd41
...
...
@@ -2,6 +2,6 @@
* Created by ruibing on 16/11/2.
*/
module
.
exports
=
{
domain
:
'https://
preprod
.mjitech.com/web/'
,
domain
:
'https://
test
.mjitech.com/web/'
,
uploadImg
:
'https://preprod.mjitech.com/static/uploadTrouble'
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
client/env/production.js
View file @
ddc1dd41
...
...
@@ -2,6 +2,6 @@
* Created by ruibing on 16/11/2.
*/
module
.
exports
=
{
domain
:
'https://
preprod
.mjitech.com/web/'
,
domain
:
'https://
test
.mjitech.com/web/'
,
uploadImg
:
"https://preprod.mjitech.com/static/uploadTrouble"
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
client/env/test.js
View file @
ddc1dd41
...
...
@@ -2,6 +2,6 @@
* Created by ruibing on 16/11/2.
*/
module
.
exports
=
{
domain
:
'https://
preprod
.mjitech.com/web/'
,
domain
:
'https://
test
.mjitech.com/web/'
,
uploadImg
:
'https://preprod.mjitech.com/static/uploadTrouble'
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
client/util/logger.js
View file @
ddc1dd41
import
fetch
from
'isomorphic-fetch'
;
let
domain
=
""
;
const
domainPort
=
"778
0
"
;
const
domainPort
=
"778
8
"
;
const
myHeaders
=
new
Headers
({
// 'Access-Control-Allow-Origin': '*',
// 'Content-Type': 'text/plain;charset=UTF-8',
...
...
This diff is collapsed.
Click to expand it.
client/util/socket.js
View file @
ddc1dd41
...
...
@@ -3,7 +3,7 @@ import myLogger from './logger'
let
domainIp
=
'192.168.10.'
;
const
domainPort
=
"778
0
"
;
const
domainPort
=
"778
8
"
;
const
socket
=
{};
...
...
This diff is collapsed.
Click to expand it.
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