From 1a6ce01b9d71a47e75d9abc01062ed1e5a6e69c3 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, 15 Nov 2019 16:59:27 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/react/src/modules/login/LoginDialog.js | 4 ++-- public/react/src/modules/user/LoginRegisterComponent.js | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/public/react/src/modules/login/LoginDialog.js b/public/react/src/modules/login/LoginDialog.js index 9a347a279..04a0312fd 100644 --- a/public/react/src/modules/login/LoginDialog.js +++ b/public/react/src/modules/login/LoginDialog.js @@ -713,7 +713,7 @@ class LoginDialog extends Component {

- {this.state.isphone===true?

+ {this.props.user&&this.props.user.main_site===true?this.state.isphone===true?

———————— 快速登录 ————————

@@ -735,7 +735,7 @@ class LoginDialog extends Component { qq登录
-

} +

:""} diff --git a/public/react/src/modules/user/LoginRegisterComponent.js b/public/react/src/modules/user/LoginRegisterComponent.js index 01188bdd1..329f3a10b 100644 --- a/public/react/src/modules/user/LoginRegisterComponent.js +++ b/public/react/src/modules/user/LoginRegisterComponent.js @@ -1078,7 +1078,7 @@ class LoginRegisterComponent extends Component { - {this.state.isphone===true?

+ {this.props.user&&this.props.user.main_site===true?this.state.isphone===true?

———————— 快速登录 ————————

@@ -1099,7 +1099,7 @@ class LoginRegisterComponent extends Component { qq登录
-

} +

:""} } @@ -1253,7 +1253,7 @@ class LoginRegisterComponent extends Component { - {this.state.isphone===true?

+ {this.props.user&&this.props.user.main_site===true?this.state.isphone===true?

———————— 快速登录 ————————

@@ -1274,7 +1274,7 @@ class LoginRegisterComponent extends Component { qq登录
-

+

:"" } }