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
90c93d54
Commit
90c93d54
authored
6 years ago
by
Zhang Xin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
配合新机器使用
parent
0f14bb2e
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
9 deletions
+7
-9
client/actions/chooseTaskContainer.js
+0
-2
client/containers/HomePageContainer/HomePageContainer.jsx
+4
-4
client/containers/PageContainer/PageContainer.jsx
+2
-2
client/util/socket.js
+1
-1
No files found.
client/actions/chooseTaskContainer.js
View file @
90c93d54
...
...
@@ -47,8 +47,6 @@ const closeDoorSuccess=(data)=>{
}).
then
((
response
)
=>
response
.
json
())
.
then
((
json
)
=>
{
dispatch
(
logout
())
// console.log(json,'breakageContainerjs')
// dispatch(getSubmitStatus(json.meta))
})
}
}
...
...
This diff is collapsed.
Click to expand it.
client/containers/HomePageContainer/HomePageContainer.jsx
View file @
90c93d54
...
...
@@ -38,10 +38,10 @@ export default class HomePageContainer extends React.Component{
}
logout
(){
//
this.props.willCloseDoor();
// let msg={type:'WILL_CLOSEDOOR'}
//
sendMsg(JSON.stringify(msg))
this
.
props
.
tempLogout
()
this
.
props
.
willCloseDoor
();
let
msg
=
{
type
:
'WILL_CLOSEDOOR'
};
sendMsg
(
JSON
.
stringify
(
msg
))
//
this.props.tempLogout()
}
showLogoutPopup
(){
...
...
This diff is collapsed.
Click to expand it.
client/containers/PageContainer/PageContainer.jsx
View file @
90c93d54
...
...
@@ -205,7 +205,7 @@ class PageContainer extends React.Component {
break
;
case
'SUCCESS_CLOSEDOOR'
:
if
(
isSend
){
//
this.handleCloseDoor()
this
.
handleCloseDoor
()
}
break
;
...
...
@@ -216,7 +216,7 @@ class PageContainer extends React.Component {
handleCloseDoor
(){
let
{
dispatch
,
state
}
=
this
.
props
;
dispatch
(
logout
());
//
dispatch(logout());
// this.endCountBack();
// remove(CONFIG.socketType.GETSTOREINFO,this)
// remove(CONFIG.socketType.GETSOCKETMSG,this)
...
...
This diff is collapsed.
Click to expand it.
client/util/socket.js
View file @
90c93d54
...
...
@@ -2,7 +2,7 @@ import fetch from 'isomorphic-fetch';
import
{
emit
}
from
'./event'
let
domainIp
=
'192.168.
10
.'
;
let
domainIp
=
'192.168.
35
.'
;
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