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> <script>
export default { export default {
async onBeforeMount(props){ async onBeforeMount(props){
let caca = await props.items; let data = await props.items;
this.state = { this.state = {
placeholder: "Rechercher dans les albums", placeholder: "Rechercher dans les albums",
items: caca.results, items: data.results,
search: "albums" search: "albums"
}; };
console.log(this.state.items); console.log(this.state.items);