modified code

This commit is contained in:
Matthis FAUVET 2024-06-21 16:22:31 +02:00
parent 5582cc1aae
commit 65064043c3

View File

@ -27,10 +27,10 @@
<script>
export default {
async onBeforeMount(props){
let caca = await props.items;
let data = await props.items;
this.state = {
placeholder: "Rechercher dans les albums",
items: caca.results,
items: data.results,
search: "albums"
};
console.log(this.state.items);