modified code
This commit is contained in:
parent
edb0da3c54
commit
90c6581aa4
@ -18,9 +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';
|
||||||
|
let test = await this.fetchSong();
|
||||||
this.state = {
|
this.state = {
|
||||||
placeholder: "caca",
|
placeholder: "caca",
|
||||||
items: await this.fetchSong()
|
items: test.results;
|
||||||
};
|
};
|
||||||
console.log(this.state);
|
console.log(this.state);
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user