modified code
This commit is contained in:
parent
2607f69a7c
commit
4b3a3a8a1a
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user