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
63909004
Commit
63909004
authored
Feb 12, 2019
by
Zhang Xin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
现场新机器打包
parent
62dee477
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
8 deletions
+11
-8
client/containers/HomePageContainer/HomePageContainer.jsx
+4
-4
client/env/development.js
+2
-1
client/env/production.js
+2
-1
client/env/test.js
+2
-1
client/util/socket.js
+1
-1
No files found.
client/containers/HomePageContainer/HomePageContainer.jsx
View file @
63909004
...
@@ -44,10 +44,10 @@ export default class HomePageContainer extends React.Component{
...
@@ -44,10 +44,10 @@ export default class HomePageContainer extends React.Component{
closeDoorStatus
:
1
closeDoorStatus
:
1
},()
=>
{
},()
=>
{
this
.
props
.
willCloseDoor
();
this
.
props
.
willCloseDoor
();
//
let msg={type:'WILL_CLOSEDOOR'};
let
msg
=
{
type
:
'WILL_CLOSEDOOR'
};
//
sendMsg(JSON.stringify(msg));
sendMsg
(
JSON
.
stringify
(
msg
));
//
this.props.changeIsSend(true);
this
.
props
.
changeIsSend
(
true
);
this
.
props
.
tempLogout
()
//
this.props.tempLogout()
})
})
}
}
}
}
...
...
client/env/development.js
View file @
63909004
...
@@ -2,6 +2,6 @@
...
@@ -2,6 +2,6 @@
* Created by ruibing on 16/11/2.
* Created by ruibing on 16/11/2.
*/
*/
module
.
exports
=
{
module
.
exports
=
{
domain
:
'https://
test
.mjitech.com/web/'
,
domain
:
'https://
www
.mjitech.com/web/'
,
uploadImg
:
'https://preprod.mjitech.com/static/uploadTrouble'
uploadImg
:
'https://preprod.mjitech.com/static/uploadTrouble'
}
}
\ No newline at end of file
client/env/production.js
View file @
63909004
...
@@ -2,6 +2,6 @@
...
@@ -2,6 +2,6 @@
* Created by ruibing on 16/11/2.
* Created by ruibing on 16/11/2.
*/
*/
module
.
exports
=
{
module
.
exports
=
{
domain
:
'https://
test
.mjitech.com/web/'
,
domain
:
'https://
www
.mjitech.com/web/'
,
uploadImg
:
"https://preprod.mjitech.com/static/uploadTrouble"
uploadImg
:
"https://preprod.mjitech.com/static/uploadTrouble"
}
}
\ No newline at end of file
client/env/test.js
View file @
63909004
...
@@ -2,6 +2,6 @@
...
@@ -2,6 +2,6 @@
* Created by ruibing on 16/11/2.
* Created by ruibing on 16/11/2.
*/
*/
module
.
exports
=
{
module
.
exports
=
{
domain
:
'https://
test
.mjitech.com/web/'
,
domain
:
'https://
www
.mjitech.com/web/'
,
uploadImg
:
'https://preprod.mjitech.com/static/uploadTrouble'
uploadImg
:
'https://preprod.mjitech.com/static/uploadTrouble'
}
}
\ No newline at end of file
client/util/socket.js
View file @
63909004
...
@@ -2,7 +2,7 @@ import fetch from 'isomorphic-fetch';
...
@@ -2,7 +2,7 @@ import fetch from 'isomorphic-fetch';
import
{
emit
}
from
'./event'
import
{
emit
}
from
'./event'
let
domainIp
=
'192.168.
10
.'
;
let
domainIp
=
'192.168.
8
.'
;
const
socket
=
{};
const
socket
=
{};
...
...
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