import { Table, Tag } from "@arco-design/web-react";
import type { RequestLogTableProps } from "./interface";
export function RequestLogTable({ data, loading }: RequestLogTableProps) {
return (
{value} },
{ title: "路径", dataIndex: "path", ellipsis: true },
{ title: "状态", dataIndex: "statusCode", width: 100, render: (value) => {value} },
{ title: "耗时", dataIndex: "costMs", width: 100, render: (value) => String(value) + "ms" },
{ title: "消息", dataIndex: "message", width: 180 },
]}
/>
);
}