added logs

This commit is contained in:
Matthis FAUVET 2024-06-21 18:16:09 +02:00
parent d98fada3d4
commit d3c7ba896e

View File

@ -63,10 +63,11 @@
this.song_style = "isActivate";
this.state.search = "songs";
}
this.fetchData()
this.fetchData(e)
this.update();
},
async fetchData(){
async fetchData(event){
event.preventDefault();
let data = await this.execQuery();
console.log(this.state.search);
console.log(data.results);
@ -86,6 +87,7 @@
this.artist_style = "isDeactivate";
this.song_style = "isDeactivate";
}
}
</script>
<style>