dev_forum
杨树林 6 years ago
parent 1d47a8f680
commit 97e83ab154

@ -9,7 +9,6 @@ import '../css/Courses.css';
import Modals from "../../modals/Modals"; import Modals from "../../modals/Modals";
import AddStudentModal from '../members/modal/AddStudentModal' import AddStudentModal from '../members/modal/AddStudentModal'
import AddTeacherModal from '../members/modal/AddTeacherModal' import AddTeacherModal from '../members/modal/AddTeacherModal'
import Trialapplication from "../../login/Trialapplication";
// 点击按钮复制功能 // 点击按钮复制功能
// function jsCopy(){ // function jsCopy(){

@ -213,11 +213,11 @@ class NewHeader extends Component {
// console.log(prevProps); // console.log(prevProps);
// console.log(prevProps.user); // console.log(prevProps.user);
// console.log(this.props.user); // console.log(this.props.user);
if(this.props.user !== undefined){ // if(this.props.user !== undefined){
this.setState({ // this.setState({
user_phone_binded :this.props.user.user_phone_binded, // user_phone_binded :this.props.user.user_phone_binded,
}) // })
} // }
// if(prevProps.user!=this.props.user){ // if(prevProps.user!=this.props.user){
// console.log("216") // console.log("216")
// console.log(prevProps.user); // console.log(prevProps.user);

Loading…
Cancel
Save