固定表格操作列
This commit is contained in:
@@ -48,8 +48,6 @@ function Products(props: {
|
||||
|
||||
const refresh = useCallback(async () => {
|
||||
const resp = await getAllProduct()
|
||||
console.log(resp, "产品管理的resp")
|
||||
|
||||
if (resp.success) {
|
||||
setList(resp.data)
|
||||
}
|
||||
@@ -141,6 +139,8 @@ function ProductSkus(props: { selected?: number }) {
|
||||
accessorFn: row => format(row.updated_at, "yyyy-MM-dd HH:mm"),
|
||||
},
|
||||
{
|
||||
id: "action",
|
||||
meta: { pin: "right" },
|
||||
header: "操作",
|
||||
cell: ({ row }) => (
|
||||
<div className="flex gap-1">
|
||||
|
||||
Reference in New Issue
Block a user