PCqiandao
杨树林 5 years ago
parent 7e3a7fb891
commit 2f024d6bce

@ -130,16 +130,17 @@ class CoursesBanner extends Component {
axios.get(url,{params: axios.get(url,{params:
dataqueryss dataqueryss
}).then((result) => { }).then((result) => {
if(result.data.status===-2){ try {
// this.setState({ if(result.data.status===-2){
// AccountProfiletype:true, // this.setState({
// content:result.data.message, // AccountProfiletype:true,
// okText:"立即认证", // content:result.data.message,
// cannelText:"稍后认证", // okText:"立即认证",
// okHref:`/account/certification`, // cannelText:"稍后认证",
// Accounturltype:true // okHref:`/account/certification`,
// }) // Accounturltype:true
}else{ // })
}else{
if( result!=undefined){ if( result!=undefined){
let data = result.data; let data = result.data;
this.setState({ this.setState({
@ -150,8 +151,12 @@ class CoursesBanner extends Component {
}else{ }else{
this.onloadupdatabanner() this.onloadupdatabanner()
} }
}
}catch (e) {
} }
}) })
}; };
foo=(url)=> { foo=(url)=> {

Loading…
Cancel
Save