Skip to content

Commit

Permalink
修正 primary key,讓前端跟 db 用同樣的 pk
Browse files Browse the repository at this point in the history
  • Loading branch information
Ronmi committed Jul 17, 2016
1 parent ffcda40 commit c7fca10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/components/OrderList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import {VueComponent, Prop} from "vue-typescript";
</tr>
</thead>
<tbody v-cloak>
<tr v-for="order of orders" track-by="when" transition="fade">
<tr v-for="order of orders" track-by="code+when" transition="fade">
<td class="time">{`{{convertTime(order.when)}}`}</td>
<td class="currency">{`{{order.code | translate}}`}</td>
<td class="foreign" vbind_class="isNegClass(order.foreign)">{`{{order.foreign | floatFormat 2}}`}</td>
Expand Down

0 comments on commit c7fca10

Please sign in to comment.