Commit dd08b5db by wujiabao

fix bug

parent 44a82eb2
...@@ -92,6 +92,8 @@ class TakeStokeContaniner extends React.Component { ...@@ -92,6 +92,8 @@ class TakeStokeContaniner extends React.Component {
}else if(str==='dis'){ }else if(str==='dis'){
if(initNum>0){ if(initNum>0){
initNum--; initNum--;
} else if(initNum==='-') {
initNum=0;
} }
this.setState({ this.setState({
initNum initNum
......
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