up

parent 3b088723
...@@ -259,12 +259,12 @@ class App extends Component { ...@@ -259,12 +259,12 @@ class App extends Component {
requestDuration:100, requestDuration:100,
duration:10, duration:10,
},()=>{ },()=>{
if(startBlock !=0 ){ if(endBlock !=0 ){
that.setState({ that.setState({
endblockOld:endBlock, endblockOld:endBlock,
endCount:0, endCount:0,
}) })
} else if(startBlock == 0 || startBlock == "" || startBlock == undefined){ } else if(endBlock == 0 || endBlock == "" || endBlock == undefined){
that.setState({ that.setState({
endBlock:that.state.endblockOld, endBlock:that.state.endblockOld,
endCount:that.state.endCount+1, endCount:that.state.endCount+1,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment