Skip to content

Commit

Permalink
feat(dash): add plan columns
Browse files Browse the repository at this point in the history
  • Loading branch information
AprilNEA committed May 13, 2023
1 parent 4a55dc9 commit cdf4d7d
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions apps/dash/src/app/setting/item.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import { Badge, useTheme } from "@geist-ui/core";

function renderPrices(value: any, rowData: any, rowIndex: number) {
return JSON.stringify(value);
}

export const planColumns = [
{
prop: "plan",
label: "计划",
},
{
prop: "prices",
label: "价格",
render: renderPrices,
},
{
prop: "limits",
label: "限制",
render: renderPrices,
},
];

0 comments on commit cdf4d7d

Please sign in to comment.