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
be0f343f
Commit
be0f343f
authored
6 years ago
by
wujiabao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug
parent
e3bca643
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
4 deletions
+1
-4
client/containers/TakeStokeContainer/TakeStokeContainer.jsx
+1
-4
No files found.
client/containers/TakeStokeContainer/TakeStokeContainer.jsx
View file @
be0f343f
...
...
@@ -104,7 +104,6 @@ class TakeStokeContaniner extends React.Component {
}
//根据后台返回的数据 判断显示的组件
componentWillReceiveProps
(
nextProps
){
console
.
log
(
"执行了盘点任务中的拉取工单"
,
this
.
props
,
nextProps
)
if
(
!
(
this
.
props
.
TokeStokeState
.
type
===
3
&&
nextProps
.
TokeStokeState
.
type
===
3
)){
let
{
type
}
=
nextProps
.
TokeStokeState
;
switch
(
type
){
...
...
@@ -124,9 +123,7 @@ class TakeStokeContaniner extends React.Component {
//点击已放入 继续拉取工单
clickPutIn
(){
this
.
props
.
getTaskList
();
this
.
setState
({
number
:
1
,
showButton
:
true
,
initNum
:
0
},()
=>
{
console
.
log
(
this
.
state
)
})
this
.
setState
({
number
:
1
,
showButton
:
true
,
initNum
:
0
})
}
}
...
...
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