Commit af51be59 authored by quentin.vrel's avatar quentin.vrel

change of the mock data form

parent 6be48013
<template> <template>
<div class="hand"> <div class="hand">
<tile v-for="tile of this.tiles" :key="tile.id" :id="tile.id"/> <tile v-for="tile of this.tiles" :key="tile.id" :id="tile.tile"/>
</div> </div>
</template> </template>
...@@ -16,19 +16,19 @@ export default { ...@@ -16,19 +16,19 @@ export default {
data(){ data(){
return{ return{
tiles: [ tiles: [
{id: 1}, {id: 1, tile: 1},
{id: 11}, {id: 2, tile: 11},
{id: 11}, {id: 3, tile: 11},
{id: 14}, {id: 4, tile: 14},
{id: 16}, {id: 5, tile: 16},
{id: 7}, {id: 6, tile: 7},
{id: 4}, {id: 7, tile: 4},
{id: 5}, {id: 8, tile: 5},
{id: 20}, {id: 9, tile: 20},
{id: 21}, {id: 10, tile: 21},
{id: 22}, {id: 11, tile: 22},
{id: 6}, {id: 12, tile: 6},
{id: 8}, {id: 13, tile: 8},
] ]
} }
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment