fix(style): fix

This commit is contained in:
zhangheng
2026-04-03 15:12:00 +08:00
parent bbde4df329
commit 0eb18943a4
9 changed files with 642 additions and 201 deletions

View File

@@ -3,6 +3,7 @@
import { projectConfig } from "@/components/label/api/project"
import { ProjectDetail } from "@/components/label/api/project/typing"
import { usePermissionStore } from "@/components/label/store/auth"
import { SettingDataTable } from "@/components/setting/PageSurface"
import {
ActionIcon,
Badge,
@@ -18,7 +19,7 @@ import { modals } from "@mantine/modals"
import { notifications } from "@mantine/notifications"
import { IconPlus, IconTrash } from "@tabler/icons-react"
import dayjs from "dayjs"
import { DataTable, DataTableColumn } from "mantine-datatable"
import { DataTableColumn } from "mantine-datatable"
import { useMemo, useState } from "react"
type RulePayload = {
@@ -221,9 +222,7 @@ export default function NoteRulesTable(props: {
</Text>
</Stack>
<DataTable<RuleRow>
withTableBorder
withRowBorders
<SettingDataTable<RuleRow>
records={rows}
columns={columns}
noRecordsText="暂无规则"