componentDidMount() {
let tastDate=[]
var requestOptionsGet = {
method: 'GET',
credentials:'include',
};
const url0=" url " ;
fetch(url0, requestOptionsGet)
.then(response => response.json.stringify())
.then(result => {
tastDate = result.content
//console.log(result)
console.log(tastDate)
//this.refreshData(tastDate)
//this.setState({loading:false})
})
.catch(error => {
// console.log('error', error)
//this.setState({loading:false})
});
}