modified code

This commit is contained in:
Matthis FAUVET 2024-06-21 01:50:19 +02:00
parent 46fb3a2c1a
commit edb0da3c54

View File

@ -18,8 +18,10 @@
export default { export default {
async onBeforeMount(props){ async onBeforeMount(props){
this.state.placeholder = 'Rechercher dans les albums'; this.state.placeholder = 'Rechercher dans les albums';
//const json = await this.fetchSong(); this.state = {
this.state = {placeholder: "caca"}; placeholder: "caca",
items: await this.fetchSong()
};
console.log(this.state); console.log(this.state);
}, },
edit(e) { edit(e) {