fix(Hand): string Key

parent 98614386
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<div id="hand"> <div id="hand">
<p>{{count()}} cartes. </p> <p>{{count()}} cartes. </p>
<Card v-for="card in cards" <Card v-for="card in cards"
v-bind:key="card" v-bind:key="card.value + ' ' + card.color"
v-bind:value="card.value" v-bind:value="card.value"
v-bind:color="card.color" v-bind:color="card.color"
/> />
......
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