表格增加序号列,移除 id 列

This commit is contained in:
2026-04-07 17:06:19 +08:00
parent edc87c6eea
commit 0789462a8d
9 changed files with 9 additions and 9 deletions

View File

@@ -35,7 +35,6 @@ export default function CouponPage() {
<DataTable<Coupon>
{...table}
columns={[
{ header: "ID", accessorKey: "id" },
{ header: "所属用户", accessorKey: "user_id" },
{ header: "代码", accessorKey: "code" },
{ header: "备注", accessorKey: "remark" },