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