modified code

This commit is contained in:
Matthis FAUVET 2024-06-21 15:05:01 +02:00
parent f0e0585908
commit 3423f4dc05

View File

@ -30,10 +30,10 @@
<script> <script>
export default { export default {
onBeforeMount(props){ onBeforeMount(props){
console.log(props.value); console.log(props.value.items.results);
this.state = { this.state = {
placeholder: "Rechercher dans les albums", placeholder: "Rechercher dans les albums",
items: props.items.results, items: props.value.items.results,
search: "albums" search: "albums"
}; };
this.paintButton(); this.paintButton();