modified code

This commit is contained in:
Matthis FAUVET 2024-06-21 15:34:27 +02:00
parent d114894c1d
commit 27a7500178

View File

@ -26,11 +26,12 @@
items: await props.items,
search: "albums"
};
console.log(this.state.items);
this.paintButton();
console.log(this.state.items.result);
this.album_style = "isActivate";
this.paintButton();
},
onMounted(){
this.paintButton();
this.update();
},
edit(e) {
@ -72,9 +73,11 @@
});
},
paintButton(){
e.preventDefault();
this.album_style = "isDeactivate";
this.artist_style = "isDeactivate";
this.song_style = "isDeactivate";
this.update();
}
}
</script>