From 765af2c66e7c14fb909ca52552c5e1ca5bb257dc Mon Sep 17 00:00:00 2001
From: ysl <904079904@qq.com>
Date: Fri, 21 Jun 2019 12:24:25 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../src/modules/login/Trialapplication.js | 28 +++----------------
1 file changed, 4 insertions(+), 24 deletions(-)
diff --git a/public/react/src/modules/login/Trialapplication.js b/public/react/src/modules/login/Trialapplication.js
index a0903021a..e0a631541 100644
--- a/public/react/src/modules/login/Trialapplication.js
+++ b/public/react/src/modules/login/Trialapplication.js
@@ -53,9 +53,9 @@ class Trialapplication extends Component {
//初始化数据
componentDidMount() {
- console.log("53");
+ // console.log("53");
- console.log(this.props.isRenders);
+ // console.log(this.props.isRenders);
if (this.props.isRenders != undefined) {
this.setState({
@@ -78,31 +78,11 @@ class Trialapplication extends Component {
}
return response;
}, (error) => {
- // // if (error.response && error.response.data.error === '401 Unauthorized') {
- // // this.back_url = window.location.href;
- // // this.setState({
- // // isRender: true
- // // })
// // // TODO 这里如果样式变了会出现css不加载的情况
- // // const $ = window.$;
- // // const isCssLoaded = window.getComputedStyle($('.log_nav li.active')[0], null)
- // // .getPropertyValue('border-bottom')
- // // == "2px solid rgb(69, 155, 229)"
- // // if (!isCssLoaded) {
- // // const isPort3007 = window.location.port == 3007;
- // // let _url_origin = isPort3007 ? 'http://localhost:3000' : ''
- // //
- // // $('head').append( $('')
- // // .attr('href', `${_url_origin}/stylesheets/educoder/edu-main.css`) );
- // // $('head').append( $('')
- // // .attr('href', `${_url_origin}/stylesheets/educoder/edu-all.css`) );
- // // }
- // // }
- // // return Promise.reject(error);
});
- console.log("89");
+ // console.log("89");
try {
- console.log(this.state.props.user && this.state.props.user.user_phone_binded);
+ // console.log(this.state.props.user && this.state.props.user.user_phone_binded);
if (this.state.props.user !== undefined) {
this.setState({
user_phone_binded: this.state.props.user.user_phone_binded,