|
|
@ -16,19 +16,25 @@ class Notcompletedysl extends Component {
|
|
|
|
// console.log("Notcompletedysl");
|
|
|
|
// console.log("Notcompletedysl");
|
|
|
|
// console.log("开发了402了");
|
|
|
|
// console.log("开发了402了");
|
|
|
|
|
|
|
|
|
|
|
|
axios.interceptors.response.use((response) => {
|
|
|
|
if(this.props.modalsType!=undefined){
|
|
|
|
// console.log(response);
|
|
|
|
this.setState({
|
|
|
|
if (response != undefined)
|
|
|
|
modalsType:this.props.modalsType
|
|
|
|
if (response && response.data.status === 402) {
|
|
|
|
})
|
|
|
|
this.setState({
|
|
|
|
}
|
|
|
|
modalsType: true
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
return response;
|
|
|
|
|
|
|
|
}, (error) => {
|
|
|
|
|
|
|
|
//TODO 这里如果样式变了会出现css不加载的情况
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
// axios.interceptors.response.use((response) => {
|
|
|
|
|
|
|
|
// // console.log(response);
|
|
|
|
|
|
|
|
// if (response != undefined)
|
|
|
|
|
|
|
|
// if (response && response.data.status === 402) {
|
|
|
|
|
|
|
|
// this.setState({
|
|
|
|
|
|
|
|
// modalsType: true
|
|
|
|
|
|
|
|
// })
|
|
|
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
// return response;
|
|
|
|
|
|
|
|
// }, (error) => {
|
|
|
|
|
|
|
|
// //TODO 这里如果样式变了会出现css不加载的情况
|
|
|
|
|
|
|
|
//
|
|
|
|
|
|
|
|
// });
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|