diff --git a/public/react/src/modules/user/LoginRegisterComponent.js b/public/react/src/modules/user/LoginRegisterComponent.js
index 9006dc64c..3f54149bf 100644
--- a/public/react/src/modules/user/LoginRegisterComponent.js
+++ b/public/react/src/modules/user/LoginRegisterComponent.js
@@ -1038,10 +1038,10 @@ class LoginRegisterComponent extends Component {
:
}
- {this.setNotcompleteds()}}
- />
+ />:""}
{
Whethertoverify===false&&pciphone===true?
diff --git a/public/react/src/modules/user/Notcompletedysl.js b/public/react/src/modules/user/Notcompletedysl.js
index e15a118ff..fc70f838e 100644
--- a/public/react/src/modules/user/Notcompletedysl.js
+++ b/public/react/src/modules/user/Notcompletedysl.js
@@ -16,12 +16,6 @@ class Notcompletedysl extends Component {
// console.log("Notcompletedysl");
// console.log("开发了402了");
- if(this.props.modalsType!=undefined){
- this.setState({
- modalsType:this.props.modalsType
- })
- }
-
// axios.interceptors.response.use((response) => {
// // console.log(response);
// if (response != undefined)
@@ -61,7 +55,7 @@ class Notcompletedysl extends Component {
destroyOnClose={true}
title="提示"
centered={true}
- visible={this.state.modalsType}
+ visible={this.props.modalsType}
width="530px"
>