dev_auth
杨树林 5 years ago
parent 5537c1e622
commit 5a9b164521

@ -76,8 +76,8 @@ class NewHeader extends Component {
// console.log(this.props);
}
componentDidUpdate = (prevProps) => {
console.log("componentDidMount2");
console.log(this.state.mygetHelmetapi2);
// console.log("componentDidMount2");
// console.log(this.state.mygetHelmetapi2);
if(this.state.mygetHelmetapi2===undefined){
this.getAppdata();
}
@ -771,14 +771,14 @@ submittojoinclass=(value)=>{
let headtypes='/';
console.log("mygetHelmetapi2");
console.log(mygetHelmetapi2);
// console.log("mygetHelmetapi2");
// console.log(mygetHelmetapi2);
if(mygetHelmetapi2){
if(mygetHelmetapi2.navbar){
if(mygetHelmetapi2.navbar.length>0){
console.log("mygetHelmetapi2.navbar.length>0====-=-=--=-=-=-=");
console.log(match.path);
// console.log("mygetHelmetapi2.navbar.length>0====-=-=--=-=-=-=");
//
// console.log(match.path);
if(match.path==='/'){
if(headtypesonClickbool===false){
headtypes=undefined;
@ -855,9 +855,9 @@ submittojoinclass=(value)=>{
// console.log("NewHeadergetHelmetapi432423423423");
// console.log(mygetHelmetapi2);
console.log("NewHeadermygetHelmetapi123123123123");
console.log(mygetHelmetapi2);
console.log(this.props);
// console.log("NewHeadermygetHelmetapi123123123123");
// console.log(mygetHelmetapi2);
// console.log(this.props);
return (
<div className="newHeaders" id="nHeader" >

@ -201,6 +201,8 @@ export function TPMIndexHOC(WrappedComponent) {
axios.get(url, {
}).then((response) => {
console.log("开始请求/get_navigation_info.json");
console.log(response);
if(response!=undefined){
if(response.status===200){
this.setState({

Loading…
Cancel
Save