perf(format): code format

This commit is contained in:
zhangheng
2026-02-27 10:21:43 +08:00
parent 6cb8f98004
commit e3ca3e9c31
15 changed files with 257 additions and 142 deletions

View File

@@ -6,14 +6,7 @@ import {
getDownloadLog,
} from "@/components/label/api/workload"
import useAuth from "@/components/label/hooks/useAuth"
import {
ActionIcon,
Button,
Group,
Paper,
Stack,
Text,
} from "@mantine/core"
import { ActionIcon, Button, Group, Paper, Stack, Text } from "@mantine/core"
import { notifications } from "@mantine/notifications"
import { IconDownload, IconFileExport, IconRefresh } from "@tabler/icons-react"
import dayjs from "dayjs"
@@ -99,7 +92,9 @@ export default function TeamCostPage() {
title: "导出时间",
width: 200,
render: (record) =>
record.create_at ? dayjs(record.create_at).format("YYYY-MM-DD HH:mm:ss") : "-",
record.create_at
? dayjs(record.create_at).format("YYYY-MM-DD HH:mm:ss")
: "-",
},
{ accessor: "file_name", title: "导出文件名", width: 280 },
{ accessor: "create_user", title: "操作人", width: 160 },