modified code
This commit is contained in:
parent
5582cc1aae
commit
65064043c3
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user