Skip to content

Commit ab84f20

Browse files
committed
feat: add price id
1 parent 869b26f commit ab84f20

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

components/LatestTable.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ defineProps<{
1010
const emit = defineEmits(["update-page"]);
1111
1212
const headers: { name: string; column: string }[] = [
13+
{ name: "ID", column: "id" },
1314
{ name: "", column: "trade_type" },
1415
{ name: "平台", column: "platform" },
1516
{ name: "遊戲", column: "name" },
@@ -58,6 +59,7 @@ function getConditionValue(condition: Price["condition"]) {
5859
</thead>
5960
<tbody>
6061
<tr v-for="item in data" :key="item.id">
62+
<td>{{ item.id }}</td>
6163
<td>{{ getTradeTypeValue(item.trade_type) }}</td>
6264
<td>{{ item.Game?.platform }}</td>
6365
<td>{{ item.Game?.name }}</td>

0 commit comments

Comments
 (0)