Commit 13acee51 by wujiabao

fix bug

parent 1429ea3b
...@@ -48,5 +48,10 @@ class BarcodeComponent extends React.Component{ ...@@ -48,5 +48,10 @@ class BarcodeComponent extends React.Component{
props.changePage&&props.changePage(2) props.changePage&&props.changePage(2)
} }
} }
componentDidMount(){
this.setState({
barcode:''
})
}
} }
export default BarcodeComponent; export default BarcodeComponent;
\ No newline at end of file
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