modified code

This commit is contained in:
Matthis FAUVET 2024-06-21 15:17:31 +02:00
parent 265bbd35c1
commit 35899ea860

View File

@ -32,12 +32,10 @@
async onBeforeMount(props){ async onBeforeMount(props){
this.state = { this.state = {
placeholder: "Rechercher dans les albums", placeholder: "Rechercher dans les albums",
items: await props.value.items, items: await props.items,
search: "albums" search: "albums"
}; };
this.paintButton(); this.paintButton();
console.log(props);
console.log(this.state.items);
this.album_style = "isActivate"; this.album_style = "isActivate";
}, },
onMounted(){ onMounted(){