modified code
This commit is contained in:
parent
edb0da3c54
commit
90c6581aa4
@ -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);
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user