modified code
This commit is contained in:
parent
d114894c1d
commit
27a7500178
@ -26,11 +26,12 @@
|
|||||||
items: await props.items,
|
items: await props.items,
|
||||||
search: "albums"
|
search: "albums"
|
||||||
};
|
};
|
||||||
console.log(this.state.items);
|
console.log(this.state.items.result);
|
||||||
this.paintButton();
|
|
||||||
this.album_style = "isActivate";
|
this.album_style = "isActivate";
|
||||||
|
this.paintButton();
|
||||||
},
|
},
|
||||||
onMounted(){
|
onMounted(){
|
||||||
|
this.paintButton();
|
||||||
this.update();
|
this.update();
|
||||||
},
|
},
|
||||||
edit(e) {
|
edit(e) {
|
||||||
@ -72,9 +73,11 @@
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
paintButton(){
|
paintButton(){
|
||||||
|
e.preventDefault();
|
||||||
this.album_style = "isDeactivate";
|
this.album_style = "isDeactivate";
|
||||||
this.artist_style = "isDeactivate";
|
this.artist_style = "isDeactivate";
|
||||||
this.song_style = "isDeactivate";
|
this.song_style = "isDeactivate";
|
||||||
|
this.update();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
Loading…
Reference in New Issue
Block a user