diff --git a/public/react/src/modules/user/FindPasswordComponent.js b/public/react/src/modules/user/FindPasswordComponent.js index 8feabd068..a85bf124e 100644 --- a/public/react/src/modules/user/FindPasswordComponent.js +++ b/public/react/src/modules/user/FindPasswordComponent.js @@ -3,9 +3,13 @@ import React, {Component} from 'react'; import {BrowserRouter as Router, Route, Link, Switch} from "react-router-dom"; import {getImageUrl, DragValidator} from 'educoder'; -import DragValidatortwo from '../../../src/common/components/DragValidatortwo' import {Tabs, Input, Checkbox, Button, notification} from 'antd'; + +import DragValidatortwo from '../../../src/common/components/DragValidatortwo' + +import ReadPassword from './ReadPassword'; + import axios from 'axios'; import './common.css' @@ -150,6 +154,9 @@ class LoginRegisterComponent extends Component { } //找回密码 Retrievepassword = () => { + this.setState({ + modalsType:true + }) if (this.state.Phonenumberisnotcobool === false) { if (this.state.login.length === 0) { this.setState({ @@ -202,8 +209,11 @@ class LoginRegisterComponent extends Component { }).then((result) => { // console.log(result); //登录成功,会生成session - this.openNotification("找回密码成功,请重新登入。"); - window.location.href = "/login" + // this.openNotification("找回密码成功,请重新登入。"); + // window.location.href = "/login" + this.setState({ + modalsType:true + }) }).catch((error) => { }) @@ -404,6 +414,11 @@ class LoginRegisterComponent extends Component { return (
+ this.StudyMakeMoney()} + /> +
-

欢迎使用EduCoder,您可以试用1天

-

超过期限,需要经过管理员的授权审核

+

欢迎使用EduCoder,您可以试用1天

+

超过期限,需要经过管理员的授权审核

this.modalCancel()}>先试试看 this.setDownload()}>立即申请授权 diff --git a/public/react/src/modules/user/Notcompleted.js b/public/react/src/modules/user/Notcompleted.js index ce33d711b..848eded48 100644 --- a/public/react/src/modules/user/Notcompleted.js +++ b/public/react/src/modules/user/Notcompleted.js @@ -34,8 +34,8 @@ class Notcompleted extends Component { width="530px" >
-

您尚未完善个人资料

-

请在完成资料后,提交试用申请

+

您尚未完善个人资料

+

请在完成资料后,提交试用申请

this.modalCancel()}>取消 this.setDownload()}>立即完善资料 diff --git a/public/react/src/modules/user/ReadPassword.js b/public/react/src/modules/user/ReadPassword.js index ef09d794e..ac9a875f6 100644 --- a/public/react/src/modules/user/ReadPassword.js +++ b/public/react/src/modules/user/ReadPassword.js @@ -2,7 +2,7 @@ import React, { Component } from 'react'; import {getImageUrl} from 'educoder'; import { Modal} from 'antd'; import axios from 'axios'; -import 'common.css' +import './common.css' //密码已重置,请重新登录 class ReadPassword extends Component { @@ -14,6 +14,7 @@ class ReadPassword extends Component { setDownload=()=>{ //立即联系 + this.props.StudyMakeMoney() }