Update main.js

This commit is contained in:
姜棚 2022-01-06 11:15:46 +08:00
parent ce1c2cbf42
commit ae2c5ca642
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ import classNames from 'classnames'
this.setState({'errshow':false}); this.setState({'errshow':false});
} }
} }
componentDidMount(){ componentWillMount(){
let val=this.props.value?this.props.value:''; let val=this.props.value?this.props.value:'';
console.log("当前的值",val) console.log("当前的值",val)