modified code

This commit is contained in:
Matthis FAUVET 2024-06-21 15:54:49 +02:00
parent 2607f69a7c
commit 4b3a3a8a1a

View File

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