modified code

This commit is contained in:
Matthis FAUVET 2024-06-21 01:55:02 +02:00
parent edb0da3c54
commit 90c6581aa4

View File

@ -18,9 +18,10 @@
export default {
async onBeforeMount(props){
this.state.placeholder = 'Rechercher dans les albums';
let test = await this.fetchSong();
this.state = {
placeholder: "caca",
items: await this.fetchSong()
items: test.results;
};
console.log(this.state);
},