From a5e1645c38e797315f0dd4c91d6ca33481e640f0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=98=8E?= <775174143@qq.com>
Date: Fri, 26 Jul 2019 18:37:07 +0800
Subject: [PATCH] b
---
public/react/src/modules/user/LoginRegisterComponent.js | 4 ++--
public/react/src/modules/user/Notcompletedysl.js | 8 +-------
2 files changed, 3 insertions(+), 9 deletions(-)
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"
>