diff --git a/public/react/src/modules/tpm/NewHeader.js b/public/react/src/modules/tpm/NewHeader.js index 6bfce6616..1c16229b5 100644 --- a/public/react/src/modules/tpm/NewHeader.js +++ b/public/react/src/modules/tpm/NewHeader.js @@ -235,6 +235,10 @@ class NewHeader extends Component { } tojoinitem=()=>{ + if(this.props.user&&this.props.user.email===undefined||this.props.user&&this.props.user.email===null||this.props.user&&this.props.user.email===""){ + this.openNotification("请先绑定邮箱,谢谢"); + return + } let{user} =this.state; if(user===undefined){ this.setState({