modified code
This commit is contained in:
parent
ca0386db94
commit
09920bf06a
@ -27,14 +27,14 @@
|
||||
<script>
|
||||
export default {
|
||||
async onBeforeMount(props){
|
||||
let caca = await props.items;
|
||||
let caca = await props.items.results;
|
||||
this.state = {
|
||||
placeholder: "Rechercher dans les albums",
|
||||
items: caca,
|
||||
search: "albums"
|
||||
};
|
||||
console.log(caca);
|
||||
console.log(this.state.items.results);
|
||||
console.log(this.state.items);
|
||||
this.album_style = "isActivate";
|
||||
this.paintButton();
|
||||
this.update();
|
||||
|
Loading…
Reference in New Issue
Block a user