diff --git a/onzer.riot b/onzer.riot index 945c58d..8a6f7bf 100644 --- a/onzer.riot +++ b/onzer.riot @@ -18,8 +18,10 @@ export default { async onBeforeMount(props){ this.state.placeholder = 'Rechercher dans les albums'; - //const json = await this.fetchSong(); - this.state = {placeholder: "caca"}; + this.state = { + placeholder: "caca", + items: await this.fetchSong() + }; console.log(this.state); }, edit(e) {