|
|
|
@ -50,6 +50,7 @@ class CompetitionCommon extends Component{
|
|
|
|
|
|
|
|
|
|
//获取头部信息
|
|
|
|
|
getbannerdata=()=>{
|
|
|
|
|
debugger
|
|
|
|
|
let menuid=this.props.location.search.replace('?menu=', '');
|
|
|
|
|
let url=`/competitions/${this.props.match.params.identifier}/common_header.json`;
|
|
|
|
|
axios.get(url).then((response) => {
|
|
|
|
@ -83,7 +84,8 @@ class CompetitionCommon extends Component{
|
|
|
|
|
}).catch((error) => {
|
|
|
|
|
console.log(error)
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
console.log("CompetitionCommonCompetitionCommon");
|
|
|
|
|
console.log(this.props.user);
|
|
|
|
|
if (this.props.user && this.props.user.login != "") {
|
|
|
|
|
const zul = `/competitions/${this.props.match.params.identifier}/competition_staff.json`;
|
|
|
|
|
axios.get((zul)).then((result) => {
|
|
|
|
|