dev_aliyun
杨树明 6 years ago
parent c13e2cde7b
commit 551bb0b0c4

@ -397,14 +397,14 @@ class PackageIndexNEIBannerConcent extends Component {
return return
} }
if(modalCancel===false){ // if(modalCancel===false){
if(this.props.current_user.phone===undefined||this.props.current_user.phone===null||this.props.current_user.phone===""){ // if(this.props.current_user.phone===undefined||this.props.current_user.phone===null||this.props.current_user.phone===""){
this.setState({ // this.setState({
current_userphonetype:true // current_userphonetype:true
}) // })
return // return
} // }
} // }
if(modalCancel===true||this.props.current_user.phone===null){ if(modalCancel===true||this.props.current_user.phone===null){
@ -618,17 +618,17 @@ class PackageIndexNEIBannerConcent extends Component {
onChangeContact_phone=(e)=>{ onChangeContact_phone=(e)=>{
let {modalCancel}=this.state; let {modalCancel}=this.state;
if(modalCancel===false){ // if(modalCancel===false){
if(this.props.current_user.phone===undefined||this.props.current_user.phone===null||this.props.current_user.phone===""){ // if(this.props.current_user.phone===undefined||this.props.current_user.phone===null||this.props.current_user.phone===""){
this.setState({ // this.setState({
current_userphonetype:true // current_userphonetype:true
}) // })
}else{ // }else{
this.setState({ // this.setState({
current_userphonetype:false // current_userphonetype:false
}) // })
} // }
} // }
if(modalCancel===true||this.props.current_user.phone===null){ if(modalCancel===true||this.props.current_user.phone===null){
if(e.target.value===undefined||e.target.value===null||e.target.value===""){ if(e.target.value===undefined||e.target.value===null||e.target.value===""){
this.setState({ this.setState({

Loading…
Cancel
Save