modified code

This commit is contained in:
Matthis FAUVET 2024-06-21 15:52:53 +02:00
parent 40a8e5fa96
commit d7d514a9f3

View File

@ -18,15 +18,6 @@
</form> </form>
</div> </div>
<div class="flex flex-wrap px-12 justify-between mt-8">
<div each={ album in await state.items }
class="item mb-4 border border-solid rounded-lg h-64 flex justify-center items-center">
<div>
<p> { album.name } </p>
</div>
</div>
</div>
<script> <script>
export default { export default {
async onBeforeMount(props){ async onBeforeMount(props){
@ -36,7 +27,6 @@
items: caca, items: caca,
search: "albums" search: "albums"
}; };
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();