From edb0da3c54e7e20b5e4956b0a9961c2e7436b98c Mon Sep 17 00:00:00 2001 From: Fauvet Matthis Date: Fri, 21 Jun 2024 01:50:19 +0200 Subject: [PATCH] modified code --- onzer.riot | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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) {