From c050a7c6fa482ff1b99dc515ca11e9247462255a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=9E=97?= <904079904@qq.com> Date: Fri, 26 Jul 2019 09:02:23 +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/user/FindPasswordComponent.js | 9 +++++---- .../react/src/modules/user/LoginRegisterComponent.js | 10 ++++++---- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/public/react/src/modules/user/FindPasswordComponent.js b/public/react/src/modules/user/FindPasswordComponent.js index 3263f7327..408ca6142 100644 --- a/public/react/src/modules/user/FindPasswordComponent.js +++ b/public/react/src/modules/user/FindPasswordComponent.js @@ -109,12 +109,13 @@ class LoginRegisterComponent extends Component { return; } //拖动滑动验证 - if(this.state.dragOk === false){ - this.openNotification("拖动滑块验证"); - return; + if(this.state.pciphone===true) { + if (this.state.dragOk === false) { + this.openNotification("拖动滑块验证"); + return; + } } - if (this.state.getverificationcodes === true) { this.setState({ getverificationcodes: undefined, diff --git a/public/react/src/modules/user/LoginRegisterComponent.js b/public/react/src/modules/user/LoginRegisterComponent.js index ec9778fc8..2e506af50 100644 --- a/public/react/src/modules/user/LoginRegisterComponent.js +++ b/public/react/src/modules/user/LoginRegisterComponent.js @@ -589,10 +589,12 @@ class LoginRegisterComponent extends Component { }) return; } - if(this.state.dragOk === false){ - this.openNotification("拖动滑块验证"); - return; - } + if(this.state.pciphone===true) { + if (this.state.dragOk === false) { + this.openNotification("拖动滑块验证"); + return; + } + } if (this.state.getverificationcodes === true) { this.setState({