modified code
This commit is contained in:
parent
7171891ab5
commit
8662895cff
@ -65,6 +65,7 @@
|
|||||||
placeholder: "caca",
|
placeholder: "caca",
|
||||||
items: await this.fetchSong()
|
items: await this.fetchSong()
|
||||||
};
|
};
|
||||||
|
console.log(this.state);
|
||||||
},
|
},
|
||||||
fetchSong(){
|
fetchSong(){
|
||||||
return fetch("https://dwarves.iut-fbleau.fr/~fauvet/api/songs").then(response => {
|
return fetch("https://dwarves.iut-fbleau.fr/~fauvet/api/songs").then(response => {
|
||||||
|
Loading…
Reference in New Issue
Block a user